Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.002445/0.002445, allocations: 93.47 kB / 19.44 MB, free: 336 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.002058/0.002058, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.54/1.54, allocations: 177.1 MB / 203.1 MB, free: 5.531 MB / 186.7 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.003298/0.003298, allocations: 238 kB / 259.8 MB, free: 12.87 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 1.209/1.209, allocations: 138.4 MB / 454.7 MB, free: 1.508 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.416e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003557/0.003581, allocations: 1.92 MB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.00659, allocations: 1.808 MB / 0.558 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.006667, allocations: 3.938 kB / 0.558 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.006891, allocations: 35.7 kB / 0.558 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.007285, allocations: 119.3 kB / 0.5581 GB, free: 12.94 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.007737, allocations: 175.4 kB / 0.5583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.008133, allocations: 301.2 kB / 0.5586 GB, free: 12.48 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.00824, allocations: 25.3 kB / 0.5586 GB, free: 12.45 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.008441, allocations: 143.8 kB / 0.5588 GB, free: 12.31 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.008675, allocations: 91.8 kB / 0.5588 GB, free: 12.22 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.008728, allocations: 20 kB / 0.5589 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.008973, allocations: 119.8 kB / 0.559 GB, free: 12.09 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.009108, allocations: 95.72 kB / 0.5591 GB, free: 11.99 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.009234, allocations: 83.75 kB / 0.5592 GB, free: 11.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005796/0.009814, allocations: 402.5 kB / 0.5595 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.009821, allocations: 4 kB / 0.5595 GB, free: 11.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.009822, allocations: 0 / 0.5595 GB, free: 11.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.009828, allocations: 4 kB / 0.5595 GB, free: 11.51 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001007/0.01083, allocations: 0.6244 MB / 0.5602 GB, free: 10.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.01087, allocations: 8.75 kB / 0.5602 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.01108, allocations: 52.69 kB / 0.5602 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.01146, allocations: 227.5 kB / 0.5604 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.01149, allocations: 12.38 kB / 0.5604 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.01154, allocations: 20.38 kB / 0.5605 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/0.01207, allocations: 370.3 kB / 0.5608 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.01208, allocations: 3.938 kB / 0.5608 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.01211, allocations: 4 kB / 0.5608 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.01212, allocations: 7.938 kB / 0.5608 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.01317, allocations: 0.6748 MB / 0.5615 GB, free: 9.402 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.01436, allocations: 0.5892 MB / 0.5621 GB, free: 8.773 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.01487, allocations: 247 kB / 0.5623 GB, free: 8.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.01505, allocations: 88.22 kB / 0.5624 GB, free: 8.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.0151, allocations: 12.27 kB / 0.5624 GB, free: 8.418 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.01548, allocations: 224.5 kB / 0.5626 GB, free: 8.172 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.01548, allocations: 0 / 0.5626 GB, free: 8.172 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.000739/0.01622, allocations: 332.9 kB / 0.5629 GB, free: 7.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.01632, allocations: 136.5 kB / 0.5631 GB, free: 7.676 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.0167, allocations: 340.3 kB / 0.5634 GB, free: 7.324 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.01675, allocations: 33.7 kB / 0.5634 GB, free: 7.285 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.01691, allocations: 195.4 kB / 0.5636 GB, free: 7.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.01704, allocations: 122.9 kB / 0.5637 GB, free: 6.969 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.01717, allocations: 83.33 kB / 0.5638 GB, free: 6.879 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003119/0.01749, allocations: 0.5196 MB / 0.5643 GB, free: 6.348 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.01763, allocations: 63.97 kB / 0.5644 GB, free: 6.285 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.01789, allocations: 197 kB / 0.5646 GB, free: 6.059 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.01823, allocations: 172 kB / 0.5647 GB, free: 5.887 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01823, allocations: 4 kB / 0.5647 GB, free: 5.883 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005047/0.01873, allocations: 261.1 kB / 0.565 GB, free: 5.621 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01875, allocations: 6.969 kB / 0.565 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01875, allocations: 0 / 0.565 GB, free: 5.617 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01877, allocations: 4 kB / 0.565 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.01902, allocations: 59.91 kB / 0.565 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.01902, allocations: 0 / 0.565 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.01917, allocations: 35.77 kB / 0.5651 GB, free: 5.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.0192, allocations: 8 kB / 0.5651 GB, free: 5.512 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001959/0.01939, allocations: 180.5 kB / 0.5652 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.01948, allocations: 43.81 kB / 0.5653 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000746/0.02022, allocations: 345 kB / 0.5656 GB, free: 4.941 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.02023, allocations: 8 kB / 0.5656 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.02024, allocations: 0 / 0.5656 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.02025, allocations: 3.938 kB / 0.5656 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.02062, allocations: 260.4 kB / 0.5659 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.02062, allocations: 0 / 0.5659 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.02082, allocations: 63.84 kB / 0.5659 GB, free: 4.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.02083, allocations: 0 / 0.5659 GB, free: 4.578 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.02086, allocations: 15.98 kB / 0.566 GB, free: 4.562 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.02086, allocations: 0 / 0.566 GB, free: 4.562 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02086, allocations: 0 / 0.566 GB, free: 4.562 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.02145, allocations: 317.3 kB / 0.5663 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.02161, allocations: 75.69 kB / 0.5663 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.02166, allocations: 8 kB / 0.5663 GB, free: 4.145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.02182, allocations: 15.98 kB / 0.5664 GB, free: 4.129 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/0.02189, allocations: 27.81 kB / 0.5664 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.02192, allocations: 15.98 kB / 0.5664 GB, free: 4.086 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002525/0.02218, allocations: 233.1 kB / 0.5666 GB, free: 3.859 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02218, allocations: 0 / 0.5666 GB, free: 3.859 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003534/0.02253, allocations: 87.8 kB / 0.5667 GB, free: 3.773 MB / 490.7 MB 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.002942/0.02547, allocations: 0.505 MB / 0.5672 GB, free: 3.453 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004596/0.02593, allocations: 203.8 kB / 0.5674 GB, free: 3.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.02593, allocations: 4 kB / 0.5674 GB, free: 3.246 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.02617, allocations: 127.5 kB / 0.5675 GB, free: 3.117 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.02651, allocations: 61.38 kB / 0.5676 GB, free: 3.059 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.02759, allocations: 496.6 kB / 0.568 GB, free: 2.543 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.02776, allocations: 151 kB / 0.5682 GB, free: 2.375 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003266/0.02809, allocations: 138.9 kB / 0.5683 GB, free: 2.242 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.0282, allocations: 44.48 kB / 0.5684 GB, free: 2.199 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/0.0282, allocations: 0 / 0.5684 GB, free: 2.199 MB / 490.7 MB Notification: Performance of Templates: time 0.009822/0.03802, allocations: 3.956 MB / 0.5722 GB, free: 14.33 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8857170570408925]