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.0008942/0.0008942, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000883/0.000883, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8928/0.8928, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.001583/0.001583, allocations: 233.8 kB / 260.2 MB, free: 13.01 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.6813/0.6813, allocations: 138.4 MB / 455.1 MB, free: 30.01 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.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.353e-06/1.353e-06, allocations: 0 / 0.6475 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.107e-05, allocations: 4.953 kB / 0.6475 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.3743/0.3743, allocations: 160.5 MB / 0.8043 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004422/0.3788, allocations: 4.144 MB / 0.8083 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000478/0.3792, allocations: 27.75 kB / 0.8084 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005932/0.3798, allocations: 262 kB / 0.8086 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.3814, allocations: 0.7925 MB / 0.8094 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.3842, allocations: 1.608 MB / 0.8109 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.3855, allocations: 1.259 MB / 0.8122 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.3861, allocations: 360.6 kB / 0.8125 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009873/0.3871, allocations: 0.7478 MB / 0.8133 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.3874, allocations: 366.9 kB / 0.8136 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.3875, allocations: 44 kB / 0.8136 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.3893, allocations: 1.289 MB / 0.8149 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3895, allocations: 203.3 kB / 0.8151 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.3897, allocations: 215.5 kB / 0.8153 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.3914, allocations: 1.317 MB / 0.8166 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3914, allocations: 3.984 kB / 0.8166 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3914, allocations: 0 / 0.8166 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.3914, allocations: 0 / 0.8166 GB, free: 13.47 MB / 0.6511 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.001372/0.3928, allocations: 0.9643 MB / 0.8175 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3928, allocations: 9.938 kB / 0.8175 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.3939, allocations: 291.3 kB / 0.8178 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005436/0.3945, allocations: 398.6 kB / 0.8182 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.3945, allocations: 40.98 kB / 0.8182 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.3946, allocations: 40 kB / 0.8183 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.3952, allocations: 0.5475 MB / 0.8188 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3952, allocations: 0 / 0.8188 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.3953, allocations: 16 kB / 0.8188 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3953, allocations: 12 kB / 0.8188 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005986/0.3959, allocations: 459.5 kB / 0.8193 GB, free: 10.62 MB / 0.6511 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.001602/0.3975, allocations: 1.696 MB / 0.8209 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.3981, allocations: 394.4 kB / 0.8213 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.3983, allocations: 206.4 kB / 0.8215 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002837/0.3986, allocations: 96.78 kB / 0.8216 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.399, allocations: 291.5 kB / 0.8219 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.399, allocations: 4 kB / 0.8219 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001011/0.4, allocations: 0.6845 MB / 0.8226 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.4, allocations: 67.14 kB / 0.8226 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.4003, allocations: 381.9 kB / 0.823 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.4004, allocations: 37.7 kB / 0.823 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4005, allocations: 272.5 kB / 0.8233 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.4006, allocations: 130.8 kB / 0.8234 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.4007, allocations: 94.14 kB / 0.8235 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4008, allocations: 358.8 kB / 0.8238 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.4011, allocations: 252.2 kB / 0.8241 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.4014, allocations: 499.9 kB / 0.8245 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005933/0.402, allocations: 0.5532 MB / 0.8251 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.402, allocations: 0 / 0.8251 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007622/0.4028, allocations: 0.7049 MB / 0.8258 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.4028, allocations: 59.41 kB / 0.8258 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4029, allocations: 7.938 kB / 0.8258 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4029, allocations: 8.938 kB / 0.8258 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.4031, allocations: 91.88 kB / 0.8259 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.4031, allocations: 9.031 kB / 0.8259 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.4034, allocations: 75.67 kB / 0.826 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.4034, allocations: 24.03 kB / 0.826 GB, free: 3.375 MB / 0.6511 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.0001685/0.4036, allocations: 183.5 kB / 0.8262 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.4036, allocations: 51.67 kB / 0.8263 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006687/0.4043, allocations: 0.5356 MB / 0.8268 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.4043, allocations: 8 kB / 0.8268 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4043, allocations: 0 / 0.8268 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4043, allocations: 3.984 kB / 0.8268 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.4056, allocations: 1.213 MB / 0.828 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4056, allocations: 4 kB / 0.828 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.4058, allocations: 75.88 kB / 0.8281 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4058, allocations: 8.375 kB / 0.8281 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.4058, allocations: 16 kB / 0.8281 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4058, allocations: 7.984 kB / 0.8281 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.4058, allocations: 13.56 kB / 0.8281 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009423/0.4067, allocations: 0.9265 MB / 0.829 GB, free: 192 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.4069, allocations: 83.64 kB / 0.8291 GB, free: 108 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.4069, allocations: 18.52 kB / 0.8291 GB, free: 92 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.4071, allocations: 35.97 kB / 0.8291 GB, free: 56 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.4072, allocations: 51.8 kB / 0.8292 GB, free: 4 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.4072, allocations: 12.05 kB / 0.8292 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001866/0.4074, allocations: 271.2 kB / 0.8295 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4074, allocations: 0 / 0.8295 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004228/0.4078, allocations: 163.7 kB / 0.8296 GB, free: 15.57 MB / 0.6667 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.000266/0.4081, allocations: 179.8 kB / 0.8298 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007096/0.4088, allocations: 0.619 MB / 0.8304 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4088, allocations: 0 / 0.8304 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.4091, allocations: 265 kB / 0.8306 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/0.4098, allocations: 210 kB / 0.8308 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.411, allocations: 1.012 MB / 0.8318 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.4112, allocations: 266 kB / 0.8321 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.4113, allocations: 40.5 kB / 0.8321 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of SimCode: time 1.232e-06/0.4113, allocations: 0 / 0.8321 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of Templates: time 0.007866/0.4191, allocations: 8.264 MB / 0.8402 GB, free: 4.738 MB / 0.6667 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.522101792506874] Failed to read output from testmodel.py, exit status != 0: 0.42578038666397333 0.43467589900000003 0.041096581 Calling exit ...