Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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.0007052/0.0007052, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000978/0.001683, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006724/0.0006724, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009088/0.001581, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9377/0.9377, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08992/1.028, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 234.2 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.003128, allocations: 479.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.744/0.744, allocations: 138.7 MB / 384.3 MB, free: 372 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1041/0.8481, allocations: 42.4 MB / 426.7 MB, free: 5.844 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 428.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.197e-05, allocations: 2.312 kB / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3687/0.3687, allocations: 147.8 MB / 0.5623 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.3716, allocations: 1.8 MB / 0.5641 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.3719, allocations: 31.75 kB / 0.5641 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.3722, allocations: 138.8 kB / 0.5643 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.3733, allocations: 0.497 MB / 0.5648 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3747, allocations: 0.6635 MB / 0.5654 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.3761, allocations: 1.247 MB / 0.5666 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005301/0.3766, allocations: 369.1 kB / 0.567 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008132/0.3774, allocations: 0.6626 MB / 0.5676 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.3778, allocations: 348.6 kB / 0.568 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.108e-05/0.3779, allocations: 48 kB / 0.568 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.3784, allocations: 327.2 kB / 0.5683 GB, free: 6.531 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.3786, allocations: 171.5 kB / 0.5685 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.3787, allocations: 179.6 kB / 0.5686 GB, free: 6.188 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0005869/0.3793, allocations: 0.5607 MB / 0.5692 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.449e-05/0.3793, allocations: 4 kB / 0.5692 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3793, allocations: 0 / 0.5692 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.3793, allocations: 4 kB / 0.5692 GB, free: 5.617 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001003/0.3803, allocations: 0.9764 MB / 0.5702 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3804, allocations: 16.69 kB / 0.5702 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.3815, allocations: 456.9 kB / 0.5706 GB, free: 4.129 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.3819, allocations: 376 kB / 0.571 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.3819, allocations: 37 kB / 0.571 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.382, allocations: 44.55 kB / 0.571 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.3827, allocations: 382.8 kB / 0.5714 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3827, allocations: 0 / 0.5714 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.3827, allocations: 16 kB / 0.5714 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3827, allocations: 12 kB / 0.5714 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.3829, allocations: 141.6 kB / 0.5716 GB, free: 3.082 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.3841, allocations: 1.457 MB / 0.573 GB, free: 1.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.3843, allocations: 195.1 kB / 0.5732 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.3844, allocations: 68.25 kB / 0.5732 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.3846, allocations: 51.89 kB / 0.5733 GB, free: 1.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.3848, allocations: 155.6 kB / 0.5734 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.3848, allocations: 0 / 0.5734 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.0004278/0.3853, allocations: 245.5 kB / 0.5737 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.3853, allocations: 59.41 kB / 0.5737 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.3855, allocations: 347.3 kB / 0.5741 GB, free: 432 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.3855, allocations: 37.7 kB / 0.5741 GB, free: 388 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3856, allocations: 229.3 kB / 0.5743 GB, free: 156 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/0.3857, allocations: 134.9 kB / 0.5744 GB, free: 20 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3858, allocations: 86.34 kB / 0.5745 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3859, allocations: 366.4 kB / 0.5749 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3861, allocations: 103.2 kB / 0.575 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.3862, allocations: 332.6 kB / 0.5753 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.3865, allocations: 287.9 kB / 0.5756 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3865, allocations: 4 kB / 0.5756 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003403/0.3868, allocations: 363.5 kB / 0.5759 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/0.3869, allocations: 63.39 kB / 0.576 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3869, allocations: 4 kB / 0.576 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3869, allocations: 4 kB / 0.576 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.3872, allocations: 112 kB / 0.5761 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3872, allocations: 4.375 kB / 0.5761 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.3874, allocations: 67.64 kB / 0.5762 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.3874, allocations: 19.98 kB / 0.5762 GB, free: 14.05 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001162/0.3875, allocations: 144.5 kB / 0.5763 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.3876, allocations: 43.95 kB / 0.5764 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.3879, allocations: 229.6 kB / 0.5766 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3879, allocations: 4 kB / 0.5766 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.3879, allocations: 0 / 0.5766 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3879, allocations: 11.92 kB / 0.5766 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.3886, allocations: 0.7153 MB / 0.5773 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3886, allocations: 4.438 kB / 0.5773 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.3888, allocations: 83.83 kB / 0.5774 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/0.3889, allocations: 63.53 kB / 0.5774 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.3889, allocations: 11.98 kB / 0.5774 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.3889, allocations: 8 kB / 0.5775 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3889, allocations: 4 kB / 0.5775 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.3889, allocations: 7.938 kB / 0.5775 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.3893, allocations: 0.5097 MB / 0.578 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.3894, allocations: 12.03 kB / 0.578 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.3895, allocations: 27.97 kB / 0.578 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.3896, allocations: 47.88 kB / 0.578 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000287/0.3899, allocations: 16.86 kB / 0.5781 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.484e-05/0.39, allocations: 136.7 kB / 0.5782 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.39, allocations: 0 / 0.5782 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003451/0.3903, allocations: 159.8 kB / 0.5783 GB, free: 11.65 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002212/0.3906, allocations: 137.3 kB / 0.5785 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.3909, allocations: 359.8 kB / 0.5788 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/0.3909, allocations: 11.94 kB / 0.5788 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.391, allocations: 123.9 kB / 0.579 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009267/0.392, allocations: 1.31 MB / 0.5802 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/0.3958, allocations: 0.9196 MB / 0.5811 GB, free: 8.465 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.788e-05/0.3959, allocations: 130.6 kB / 0.5813 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002504/0.3961, allocations: 67.62 kB / 0.5813 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.3965, allocations: 209.1 kB / 0.5815 GB, free: 8.051 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/0.3965, allocations: 4 kB / 0.5815 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of Templates: time 0.01193/0.4084, allocations: 9.971 MB / 0.5913 GB, free: 14.47 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9528049575164914]