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.001272/0.001272, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009735/0.0009735, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 18.57 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 0.9457/0.9457, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.001811/0.001811, allocations: 237.6 kB / 260.2 MB, free: 12.84 MB / 250.7 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 0.7493/0.7493, allocations: 138.4 MB / 455.2 MB, free: 1.52 MB / 362.7 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.673e-06/1.673e-06, allocations: 0 / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.34e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.006483/0.006506, allocations: 3.726 MB / 0.5587 GB, free: 12.79 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004452/0.01096, allocations: 3.692 MB / 0.5623 GB, free: 9.082 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.01122, allocations: 19.81 kB / 0.5623 GB, free: 9.062 MB / 490.7 MB [/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.0003141/0.01154, allocations: 126.9 kB / 0.5625 GB, free: 8.938 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009315/0.01247, allocations: 0.5163 MB / 0.563 GB, free: 8.418 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.013, allocations: 375 kB / 0.5633 GB, free: 8.051 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006125/0.01361, allocations: 0.8186 MB / 0.5641 GB, free: 7.23 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.01384, allocations: 126.4 kB / 0.5642 GB, free: 7.105 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000588/0.01443, allocations: 467 kB / 0.5647 GB, free: 6.648 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.01477, allocations: 255.2 kB / 0.5649 GB, free: 6.398 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.704e-05/0.01485, allocations: 72 kB / 0.565 GB, free: 6.328 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007066/0.01556, allocations: 0.5538 MB / 0.5655 GB, free: 5.773 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.0157, allocations: 179.3 kB / 0.5657 GB, free: 5.598 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.01588, allocations: 215.4 kB / 0.5659 GB, free: 5.387 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.01693, allocations: 0.9497 MB / 0.5668 GB, free: 4.434 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.01693, allocations: 0 / 0.5668 GB, free: 4.434 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01694, allocations: 0 / 0.5668 GB, free: 4.434 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.01695, allocations: 4 kB / 0.5668 GB, free: 4.43 MB / 490.7 MB 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.001344/0.01829, allocations: 1.073 MB / 0.5679 GB, free: 3.316 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.01833, allocations: 12.75 kB / 0.5679 GB, free: 3.305 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.01994, allocations: 0.5428 MB / 0.5684 GB, free: 2.762 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007073/0.02064, allocations: 0.5485 MB / 0.569 GB, free: 2.184 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.02075, allocations: 199.8 kB / 0.5692 GB, free: 1.953 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.108e-05/0.02081, allocations: 44.38 kB / 0.5692 GB, free: 1.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000794/0.0216, allocations: 0.6412 MB / 0.5698 GB, free: 1.223 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.02161, allocations: 4 kB / 0.5698 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.02165, allocations: 20 kB / 0.5699 GB, free: 1.199 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.02166, allocations: 16 kB / 0.5699 GB, free: 1.184 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005472/0.02221, allocations: 361.7 kB / 0.5702 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.02404, allocations: 1.521 MB / 0.5717 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000931/0.02497, allocations: 474.2 kB / 0.5722 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.02524, allocations: 185 kB / 0.5723 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004497/0.02569, allocations: 184.3 kB / 0.5725 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003575/0.02605, allocations: 275.8 kB / 0.5728 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=58): time 1.693e-06/0.02605, allocations: 0 / 0.5728 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58): time 0.002656/0.02871, allocations: 1.066 MB / 0.5738 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.02876, allocations: 111.3 kB / 0.5739 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.02911, allocations: 464.3 kB / 0.5744 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.02915, allocations: 37.7 kB / 0.5744 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.02931, allocations: 335.9 kB / 0.5747 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.02942, allocations: 194.3 kB / 0.5749 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.02957, allocations: 131.9 kB / 0.575 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.02971, allocations: 0.5391 MB / 0.5755 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.02994, allocations: 129.2 kB / 0.5757 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.03026, allocations: 353.6 kB / 0.576 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.03078, allocations: 429.7 kB / 0.5764 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.03078, allocations: 0 / 0.5764 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001427/0.03221, allocations: 0.7154 MB / 0.5771 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.03222, allocations: 11.94 kB / 0.5771 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.03223, allocations: 0 / 0.5771 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/0.03289, allocations: 211.6 kB / 0.5773 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.03327, allocations: 147.8 kB / 0.5775 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.03519, allocations: 2.026 MB / 0.5795 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.0355, allocations: 83.59 kB / 0.5795 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.03554, allocations: 35.97 kB / 0.5796 GB, free: 6.82 MB / 0.4948 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.0001628/0.0357, allocations: 200.2 kB / 0.5798 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.03581, allocations: 79.56 kB / 0.5798 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.03715, allocations: 0.7566 MB / 0.5806 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.03716, allocations: 8 kB / 0.5806 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.03716, allocations: 0 / 0.5806 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.03717, allocations: 3.984 kB / 0.5806 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.03885, allocations: 1.252 MB / 0.5818 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.03885, allocations: 0 / 0.5818 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.03919, allocations: 135.8 kB / 0.5819 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005002/0.03969, allocations: 171.5 kB / 0.5821 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.03973, allocations: 23.98 kB / 0.5821 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.04125, allocations: 2.023 MB / 0.5841 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.04125, allocations: 0 / 0.5841 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.04242, allocations: 0.7843 MB / 0.5849 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.04259, allocations: 139.3 kB / 0.585 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.04264, allocations: 19.94 kB / 0.585 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.04289, allocations: 39.95 kB / 0.5851 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.04297, allocations: 60.44 kB / 0.5851 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.04301, allocations: 27.97 kB / 0.5851 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001943/0.04321, allocations: 291 kB / 0.5854 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.04321, allocations: 0 / 0.5854 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00052/0.04373, allocations: 271.3 kB / 0.5857 GB, free: 340 kB / 0.4948 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.001094/0.04482, allocations: 0.5665 MB / 0.5862 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000773/0.04559, allocations: 0.5996 MB / 0.5868 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.04559, allocations: 0 / 0.5868 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005871/0.04618, allocations: 486.5 kB / 0.5873 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.04654, allocations: 89.86 kB / 0.5874 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.04808, allocations: 1.076 MB / 0.5884 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.444e-05/0.04817, allocations: 148.8 kB / 0.5886 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003376/0.04851, allocations: 140.4 kB / 0.5887 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.04868, allocations: 72.45 kB / 0.5888 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of SimCode: time 5.41e-07/0.04868, allocations: 0 / 0.5888 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.01513/0.06382, allocations: 11.24 MB / 0.5997 GB, free: 2.07 MB / 0.5105 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.414412261918187]