Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 80.92 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 159.3 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002471/0.002471, allocations: 242 kB / 259.4 MB, free: 456 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.088/1.088, allocations: 138.4 MB / 454.3 MB, free: 1.988 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.783e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.005356/0.005384, allocations: 3.552 MB / 0.6502 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2651/0.2704, allocations: 3.517 MB / 0.6537 GB, free: 53.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.2708, allocations: 16.5 kB / 0.6537 GB, free: 53.27 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.2712, allocations: 126.5 kB / 0.6538 GB, free: 53.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.2723, allocations: 0.5099 MB / 0.6543 GB, free: 53.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006803/0.2729, allocations: 382.6 kB / 0.6547 GB, free: 53.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005465/0.2735, allocations: 0.8087 MB / 0.6554 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.2737, allocations: 127.5 kB / 0.6556 GB, free: 52.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004701/0.2742, allocations: 475 kB / 0.656 GB, free: 52.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.2745, allocations: 261.2 kB / 0.6563 GB, free: 52.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.404e-05/0.2746, allocations: 71.72 kB / 0.6563 GB, free: 52.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007794/0.2754, allocations: 0.5444 MB / 0.6569 GB, free: 52.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.2755, allocations: 177.3 kB / 0.657 GB, free: 52.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.2757, allocations: 221.5 kB / 0.6572 GB, free: 52.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.2769, allocations: 1.267 MB / 0.6585 GB, free: 52.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2769, allocations: 0 / 0.6585 GB, free: 52.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2769, allocations: 4.719 kB / 0.6585 GB, free: 52.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.2769, allocations: 0 / 0.6585 GB, free: 52.12 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001785/0.2787, allocations: 0.973 MB / 0.6594 GB, free: 51.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2787, allocations: 17.05 kB / 0.6595 GB, free: 51.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00403/0.2828, allocations: 0.6586 MB / 0.6601 GB, free: 51.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.2842, allocations: 0.5762 MB / 0.6607 GB, free: 51.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.2843, allocations: 199.2 kB / 0.6609 GB, free: 50.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/0.2844, allocations: 54.02 kB / 0.6609 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.2859, allocations: 0.7888 MB / 0.6617 GB, free: 50.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2859, allocations: 3.938 kB / 0.6617 GB, free: 50.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.286, allocations: 19.16 kB / 0.6617 GB, free: 50.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.286, allocations: 13.22 kB / 0.6617 GB, free: 50.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.2879, allocations: 0.7741 MB / 0.6625 GB, free: 50.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.291, allocations: 1.667 MB / 0.6641 GB, free: 49.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/0.2938, allocations: 0.8389 MB / 0.6649 GB, free: 49.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009527/0.2948, allocations: 361 kB / 0.6653 GB, free: 48.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.2959, allocations: 198.8 kB / 0.6654 GB, free: 48.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.297, allocations: 457.7 kB / 0.6659 GB, free: 48.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=58): time 3.477e-06/0.297, allocations: 0 / 0.6659 GB, free: 48.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58): time 0.007357/0.3043, allocations: 1.604 MB / 0.6675 GB, free: 48.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.3044, allocations: 112.4 kB / 0.6676 GB, free: 48.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005388/0.3049, allocations: 443.5 kB / 0.668 GB, free: 47.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.925e-05/0.305, allocations: 36.39 kB / 0.668 GB, free: 47.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.3051, allocations: 281.3 kB / 0.6683 GB, free: 47.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.3053, allocations: 205 kB / 0.6685 GB, free: 47.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.3055, allocations: 120.8 kB / 0.6686 GB, free: 47.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.3056, allocations: 368.3 kB / 0.6689 GB, free: 47.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009327/0.3065, allocations: 323.9 kB / 0.6693 GB, free: 47.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009986/0.3075, allocations: 0.491 MB / 0.6697 GB, free: 46.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.3094, allocations: 0.7213 MB / 0.6704 GB, free: 46.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3094, allocations: 4 kB / 0.6704 GB, free: 46.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004097/0.3135, allocations: 1.079 MB / 0.6715 GB, free: 46.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3136, allocations: 5.875 kB / 0.6715 GB, free: 46.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3136, allocations: 3.031 kB / 0.6715 GB, free: 46.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007898/0.3144, allocations: 139.7 kB / 0.6716 GB, free: 46.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.3152, allocations: 161.3 kB / 0.6718 GB, free: 46.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004664/0.3199, allocations: 1.97 MB / 0.6737 GB, free: 44.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008728/0.3208, allocations: 106.6 kB / 0.6738 GB, free: 44.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.3209, allocations: 31.98 kB / 0.6738 GB, free: 44.53 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003313/0.3212, allocations: 205.6 kB / 0.674 GB, free: 44.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.3213, allocations: 53.98 kB / 0.6741 GB, free: 44.33 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.325, allocations: 1.105 MB / 0.6752 GB, free: 43.94 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.325, allocations: 6.656 kB / 0.6752 GB, free: 43.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.325, allocations: 1.875 kB / 0.6752 GB, free: 43.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.325, allocations: 3.281 kB / 0.6752 GB, free: 43.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/0.3292, allocations: 1.628 MB / 0.6768 GB, free: 43.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3292, allocations: 0 / 0.6768 GB, free: 43.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008138/0.3301, allocations: 145.6 kB / 0.6769 GB, free: 43.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006922/0.3307, allocations: 133 kB / 0.677 GB, free: 43.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.3308, allocations: 22.11 kB / 0.6771 GB, free: 43.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003654/0.3345, allocations: 1.815 MB / 0.6788 GB, free: 41.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3345, allocations: 0 / 0.6788 GB, free: 41.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/0.3377, allocations: 1.055 MB / 0.6799 GB, free: 41.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.338, allocations: 139.2 kB / 0.68 GB, free: 41.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/0.3381, allocations: 15.84 kB / 0.68 GB, free: 41.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/0.3388, allocations: 68.83 kB / 0.6801 GB, free: 41.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.339, allocations: 48.58 kB / 0.6801 GB, free: 41.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/0.339, allocations: 27.88 kB / 0.6802 GB, free: 41.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000368/0.3394, allocations: 302.5 kB / 0.6804 GB, free: 41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3394, allocations: 0 / 0.6804 GB, free: 41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008757/0.3403, allocations: 267.6 kB / 0.6807 GB, free: 40.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001937/0.3422, allocations: 0.6225 MB / 0.6813 GB, free: 40.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.3446, allocations: 0.8632 MB / 0.6821 GB, free: 40.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3446, allocations: 1 kB / 0.6821 GB, free: 40.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.3461, allocations: 0.5544 MB / 0.6827 GB, free: 40.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.3467, allocations: 71.23 kB / 0.6828 GB, free: 40.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.349, allocations: 1.249 MB / 0.684 GB, free: 39.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.3493, allocations: 293.7 kB / 0.6843 GB, free: 39.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005743/0.3498, allocations: 153.3 kB / 0.6844 GB, free: 39.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.3501, allocations: 72.03 kB / 0.6845 GB, free: 39.26 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.3501, allocations: 0 / 0.6845 GB, free: 39.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.01974/0.3699, allocations: 10.92 MB / 0.6951 GB, free: 36.57 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.426814738661051] Failed to read output from testmodel.py, exit status != 0: 0.37788793444633484 0.391307443 0.111785009 Calling exit ...