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.001586/0.001586, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001859/0.001859, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.001766/0.001766, allocations: 230.8 kB / 260.5 MB, free: 12.89 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.8233/0.8233, allocations: 138.4 MB / 455.4 MB, free: 30.1 MB / 410.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.553e-06/1.553e-06, allocations: 0 / 0.555 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.317e-05, allocations: 2.312 kB / 0.555 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.003876/0.0039, allocations: 3.727 MB / 0.5586 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003922/0.007822, allocations: 3.665 MB / 0.5622 GB, free: 9.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.008141, allocations: 15.88 kB / 0.5622 GB, free: 9.164 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.0004379/0.008579, allocations: 122.8 kB / 0.5623 GB, free: 9.043 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.00968, allocations: 0.5203 MB / 0.5628 GB, free: 8.52 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.01032, allocations: 378.9 kB / 0.5632 GB, free: 8.148 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006915/0.01101, allocations: 0.8109 MB / 0.564 GB, free: 7.336 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.01123, allocations: 130.4 kB / 0.5641 GB, free: 7.207 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.01179, allocations: 470.9 kB / 0.5646 GB, free: 6.746 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.01213, allocations: 263.2 kB / 0.5648 GB, free: 6.488 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.751e-05/0.01221, allocations: 68 kB / 0.5649 GB, free: 6.422 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000761/0.01297, allocations: 0.5421 MB / 0.5654 GB, free: 5.879 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.01312, allocations: 183.4 kB / 0.5656 GB, free: 5.699 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.0133, allocations: 219.4 kB / 0.5658 GB, free: 5.484 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.01441, allocations: 0.942 MB / 0.5667 GB, free: 4.539 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01441, allocations: 0 / 0.5667 GB, free: 4.539 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01442, allocations: 0 / 0.5667 GB, free: 4.539 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.01443, allocations: 0 / 0.5667 GB, free: 4.539 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.001507/0.01593, allocations: 1.084 MB / 0.5678 GB, free: 3.418 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.01597, allocations: 8.75 kB / 0.5678 GB, free: 3.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.01772, allocations: 0.5389 MB / 0.5683 GB, free: 2.871 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000828/0.01855, allocations: 0.5407 MB / 0.5688 GB, free: 2.301 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.01868, allocations: 195.8 kB / 0.569 GB, free: 2.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.01875, allocations: 48.38 kB / 0.5691 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008819/0.01963, allocations: 0.6451 MB / 0.5697 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.01965, allocations: 0 / 0.5697 GB, free: 1.332 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.01969, allocations: 20 kB / 0.5697 GB, free: 1.312 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.01971, allocations: 15.98 kB / 0.5697 GB, free: 1.297 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.0203, allocations: 373.6 kB / 0.5701 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.02227, allocations: 1.529 MB / 0.5716 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.0233, allocations: 463 kB / 0.572 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.02361, allocations: 193 kB / 0.5722 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005294/0.02414, allocations: 188.3 kB / 0.5724 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003974/0.02454, allocations: 275.8 kB / 0.5726 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=58): time 2.355e-06/0.02454, allocations: 0 / 0.5726 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58): time 0.003668/0.02821, allocations: 1.07 MB / 0.5737 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.02827, allocations: 111.3 kB / 0.5738 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.02873, allocations: 460.2 kB / 0.5742 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.352e-05/0.02879, allocations: 41.69 kB / 0.5743 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.029, allocations: 331.9 kB / 0.5746 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.02915, allocations: 206.2 kB / 0.5748 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.02934, allocations: 127.9 kB / 0.5749 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.02952, allocations: 0.5391 MB / 0.5754 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.02983, allocations: 125.2 kB / 0.5756 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.03025, allocations: 345.6 kB / 0.5759 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007107/0.03097, allocations: 421.7 kB / 0.5763 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.03097, allocations: 4 kB / 0.5763 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00194/0.03291, allocations: 0.7152 MB / 0.577 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.03293, allocations: 11.98 kB / 0.577 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.03294, allocations: 4.281 kB / 0.577 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008892/0.03383, allocations: 223.5 kB / 0.5772 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/0.03435, allocations: 143.8 kB / 0.5774 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.03679, allocations: 2.027 MB / 0.5793 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.03722, allocations: 79.62 kB / 0.5794 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.03728, allocations: 31.97 kB / 0.5794 GB, free: 6.926 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.0002153/0.0375, allocations: 192.4 kB / 0.5796 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.03764, allocations: 83.56 kB / 0.5797 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.03947, allocations: 0.7566 MB / 0.5804 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.03948, allocations: 7.984 kB / 0.5804 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.03948, allocations: 4 kB / 0.5805 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.03949, allocations: 4 kB / 0.5805 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.04176, allocations: 1.268 MB / 0.5817 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.04176, allocations: 0 / 0.5817 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/0.04223, allocations: 139.8 kB / 0.5818 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006755/0.0429, allocations: 163.5 kB / 0.582 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.04296, allocations: 15.98 kB / 0.582 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.04501, allocations: 2.027 MB / 0.584 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.04502, allocations: 0 / 0.584 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.0466, allocations: 0.7884 MB / 0.5847 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.04685, allocations: 143.3 kB / 0.5849 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/0.04692, allocations: 11.94 kB / 0.5849 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.04727, allocations: 47.97 kB / 0.5849 GB, free: 1.059 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.0474, allocations: 48.55 kB / 0.585 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.331e-05/0.04745, allocations: 23.98 kB / 0.585 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002706/0.04772, allocations: 295 kB / 0.5853 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.04772, allocations: 0 / 0.5853 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007923/0.04851, allocations: 263.3 kB / 0.5855 GB, free: 452 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.001358/0.04987, allocations: 0.5872 MB / 0.5861 GB, free: 12 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.05099, allocations: 0.588 MB / 0.5867 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.05099, allocations: 0 / 0.5867 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008607/0.05185, allocations: 486.4 kB / 0.5872 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.05237, allocations: 93.86 kB / 0.5872 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.05444, allocations: 1.069 MB / 0.5883 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.05455, allocations: 140.8 kB / 0.5884 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000484/0.05504, allocations: 136.5 kB / 0.5886 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.05526, allocations: 76.45 kB / 0.5886 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/0.05527, allocations: 0 / 0.5886 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.01695/0.07222, allocations: 11.25 MB / 0.5996 GB, free: 2.203 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.286643598927185]