Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.0009832/0.0009832, 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.0009499/0.0009499, allocations: 173 kB / 23.5 MB, free: 1.055 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.9055/0.9055, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.001875/0.001875, allocations: 241.1 kB / 260.5 MB, free: 12.86 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.7016/0.7016, allocations: 138.4 MB / 455.4 MB, free: 1.539 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.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.555 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.899e-05, allocations: 5.688 kB / 0.555 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.004251/0.00427, allocations: 3.033 MB / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004441/0.008711, allocations: 3.471 MB / 0.5613 GB, free: 10.39 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.008875, allocations: 0 / 0.5613 GB, free: 10.39 MB / 490.7 MB [/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.0003203/0.009195, allocations: 75.23 kB / 0.5614 GB, free: 10.32 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009978/0.01019, allocations: 493.1 kB / 0.5619 GB, free: 9.832 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.01085, allocations: 386.9 kB / 0.5622 GB, free: 9.453 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006636/0.01151, allocations: 0.7296 MB / 0.563 GB, free: 8.723 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.0117, allocations: 70.89 kB / 0.563 GB, free: 8.648 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004942/0.01219, allocations: 427.1 kB / 0.5634 GB, free: 8.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004598/0.01265, allocations: 267.2 kB / 0.5637 GB, free: 7.969 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.891e-05/0.01274, allocations: 64 kB / 0.5637 GB, free: 7.906 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007585/0.0135, allocations: 0.542 MB / 0.5643 GB, free: 7.363 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.01367, allocations: 179.4 kB / 0.5644 GB, free: 7.188 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.01387, allocations: 203.4 kB / 0.5646 GB, free: 6.988 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.01494, allocations: 0.8994 MB / 0.5655 GB, free: 6.086 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.01494, allocations: 0 / 0.5655 GB, free: 6.086 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01494, allocations: 0 / 0.5655 GB, free: 6.086 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.01495, allocations: 0 / 0.5655 GB, free: 6.086 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001564/0.01651, allocations: 0.9722 MB / 0.5665 GB, free: 5.074 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.01655, allocations: 8.75 kB / 0.5665 GB, free: 5.066 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.01879, allocations: 476 kB / 0.5669 GB, free: 4.602 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006349/0.01943, allocations: 471.5 kB / 0.5674 GB, free: 4.113 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.01959, allocations: 362 kB / 0.5677 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.01966, allocations: 44.38 kB / 0.5678 GB, free: 3.641 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007495/0.02041, allocations: 0.6142 MB / 0.5684 GB, free: 2.984 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.02042, allocations: 0 / 0.5684 GB, free: 2.984 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.02046, allocations: 24 kB / 0.5684 GB, free: 2.961 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.02047, allocations: 12 kB / 0.5684 GB, free: 2.949 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.02108, allocations: 413.6 kB / 0.5688 GB, free: 2.543 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.02288, allocations: 1.311 MB / 0.5701 GB, free: 1.199 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.02401, allocations: 0.5402 MB / 0.5706 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.02429, allocations: 185.5 kB / 0.5708 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004926/0.02478, allocations: 192.4 kB / 0.571 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/0.02518, allocations: 301.9 kB / 0.5712 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=66): time 2.004e-06/0.02518, allocations: 0 / 0.5712 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66): time 0.001025/0.02621, allocations: 0.6382 MB / 0.5719 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.02625, allocations: 107.5 kB / 0.572 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.02652, allocations: 382.8 kB / 0.5723 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.02656, allocations: 37.64 kB / 0.5724 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.0267, allocations: 280 kB / 0.5726 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.02682, allocations: 226 kB / 0.5729 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.02698, allocations: 152.2 kB / 0.573 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.02713, allocations: 0.5274 MB / 0.5735 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.02738, allocations: 153.9 kB / 0.5737 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.02771, allocations: 353.8 kB / 0.574 GB, free: 13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.02831, allocations: 461.5 kB / 0.5744 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02831, allocations: 0 / 0.5744 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008123/0.02912, allocations: 0.5827 MB / 0.575 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.02914, allocations: 4 kB / 0.575 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.02914, allocations: 4 kB / 0.575 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.02916, allocations: 7.938 kB / 0.575 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.02972, allocations: 171.7 kB / 0.5752 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.02974, allocations: 12.27 kB / 0.5752 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.03002, allocations: 75.53 kB / 0.5753 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.03007, allocations: 35.97 kB / 0.5753 GB, free: 11.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.03023, allocations: 196.4 kB / 0.5755 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.03033, allocations: 71.67 kB / 0.5756 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.03151, allocations: 0.8033 MB / 0.5763 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.03152, allocations: 12 kB / 0.5764 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.03152, allocations: 0 / 0.5764 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.03153, allocations: 3.984 kB / 0.5764 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.03291, allocations: 1.254 MB / 0.5776 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.03292, allocations: 0 / 0.5776 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.03337, allocations: 175.7 kB / 0.5778 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.03338, allocations: 4 kB / 0.5778 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.03342, allocations: 27.97 kB / 0.5778 GB, free: 9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.03342, allocations: 4 kB / 0.5778 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.03342, allocations: 4 kB / 0.5778 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.03436, allocations: 0.7718 MB / 0.5785 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.03454, allocations: 147.3 kB / 0.5787 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.03461, allocations: 16 kB / 0.5787 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.03486, allocations: 39.97 kB / 0.5787 GB, free: 8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.03496, allocations: 60.83 kB / 0.5788 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.035, allocations: 35.97 kB / 0.5788 GB, free: 7.906 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001595/0.03516, allocations: 251 kB / 0.5791 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03516, allocations: 0 / 0.5791 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004877/0.03565, allocations: 255.4 kB / 0.5793 GB, free: 7.41 MB / 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 (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/0.03673, allocations: 0.5704 MB / 0.5799 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007062/0.03744, allocations: 0.4923 MB / 0.5804 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.03744, allocations: 4 kB / 0.5804 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.03781, allocations: 311.2 kB / 0.5807 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.03815, allocations: 100.1 kB / 0.5808 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.03957, allocations: 0.9624 MB / 0.5817 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.352e-05/0.03965, allocations: 137.5 kB / 0.5818 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004202/0.04008, allocations: 156.5 kB / 0.582 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.04029, allocations: 96.42 kB / 0.5821 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/0.0403, allocations: 0 / 0.5821 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of Templates: time 0.01244/0.05274, allocations: 10.12 MB / 0.592 GB, free: 10.63 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.825521691935137]