Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008198/0.0008198, allocations: 84.44 kB / 20.69 MB, free: 3.875 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.0008476/0.0008476, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.892/0.892, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5555/0.5555, allocations: 114 MB / 374.7 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.5554 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.108e-05, allocations: 6.281 kB / 0.5554 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4254/0.4255, allocations: 160.5 MB / 0.7122 GB, free: 42.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004128/0.4296, allocations: 4.121 MB / 0.7162 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005639/0.4302, allocations: 26.78 kB / 0.7162 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.4308, allocations: 255.1 kB / 0.7165 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001591/0.4324, allocations: 0.7745 MB / 0.7172 GB, free: 41.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.4352, allocations: 1.606 MB / 0.7188 GB, free: 41.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.4363, allocations: 1.224 MB / 0.72 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.4367, allocations: 334.3 kB / 0.7203 GB, free: 41.67 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.438, allocations: 0.9714 MB / 0.7212 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.4383, allocations: 356.2 kB / 0.7216 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.4384, allocations: 45.22 kB / 0.7216 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.4403, allocations: 1.263 MB / 0.7229 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.4404, allocations: 202.3 kB / 0.7231 GB, free: 41.37 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.4406, allocations: 210 kB / 0.7233 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.4424, allocations: 1.323 MB / 0.7245 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4424, allocations: 1.062 kB / 0.7245 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4424, allocations: 0 / 0.7245 GB, free: 41.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.4424, allocations: 0.6562 kB / 0.7245 GB, free: 41.23 MB / 0.6355 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.001207/0.4436, allocations: 0.9536 MB / 0.7255 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4437, allocations: 11.02 kB / 0.7255 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.4448, allocations: 288.9 kB / 0.7258 GB, free: 40.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.4453, allocations: 392.2 kB / 0.7261 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.4453, allocations: 38.56 kB / 0.7262 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.4454, allocations: 41.66 kB / 0.7262 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.446, allocations: 0.5461 MB / 0.7267 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.446, allocations: 5.5 kB / 0.7268 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.446, allocations: 15.84 kB / 0.7268 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.446, allocations: 14.56 kB / 0.7268 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.4467, allocations: 459.5 kB / 0.7272 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.4485, allocations: 1.686 MB / 0.7289 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.4492, allocations: 393 kB / 0.7292 GB, free: 39.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.4495, allocations: 209 kB / 0.7294 GB, free: 39.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/0.4498, allocations: 95.38 kB / 0.7295 GB, free: 39.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.4502, allocations: 293.8 kB / 0.7298 GB, free: 39.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/0.4502, allocations: 0 / 0.7298 GB, free: 39.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.001096/0.4513, allocations: 0.6836 MB / 0.7305 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.4513, allocations: 57.34 kB / 0.7305 GB, free: 39.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.4516, allocations: 372.4 kB / 0.7309 GB, free: 39.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.4517, allocations: 37.7 kB / 0.7309 GB, free: 38.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.4518, allocations: 281.6 kB / 0.7312 GB, free: 38.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.641e-05/0.4519, allocations: 128.6 kB / 0.7313 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.452, allocations: 90.45 kB / 0.7314 GB, free: 38.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.861e-05/0.452, allocations: 359.1 kB / 0.7317 GB, free: 38.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.4523, allocations: 250.1 kB / 0.732 GB, free: 38.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.4527, allocations: 497.4 kB / 0.7325 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006014/0.4533, allocations: 0.5524 MB / 0.733 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4533, allocations: 2 kB / 0.733 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008204/0.4541, allocations: 0.6971 MB / 0.7337 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.4541, allocations: 61.88 kB / 0.7337 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4541, allocations: 7.062 kB / 0.7337 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.4542, allocations: 5.688 kB / 0.7338 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.4544, allocations: 96.19 kB / 0.7338 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4544, allocations: 7.109 kB / 0.7338 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.4547, allocations: 71.78 kB / 0.7339 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.4548, allocations: 22.56 kB / 0.7339 GB, free: 37.6 MB / 0.6355 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.0001917/0.455, allocations: 189 kB / 0.7341 GB, free: 37.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.455, allocations: 49.94 kB / 0.7342 GB, free: 37.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007747/0.4558, allocations: 0.5336 MB / 0.7347 GB, free: 37.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4558, allocations: 9.172 kB / 0.7347 GB, free: 37.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4558, allocations: 0 / 0.7347 GB, free: 37.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4558, allocations: 3.422 kB / 0.7347 GB, free: 37.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.4574, allocations: 1.21 MB / 0.7359 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4574, allocations: 4.281 kB / 0.7359 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.4576, allocations: 76.98 kB / 0.736 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.4576, allocations: 5.875 kB / 0.736 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.4576, allocations: 13.98 kB / 0.736 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.4576, allocations: 10.39 kB / 0.736 GB, free: 37.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4577, allocations: 7.375 kB / 0.736 GB, free: 37.03 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.4588, allocations: 0.9354 MB / 0.7369 GB, free: 36.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.4589, allocations: 83.75 kB / 0.737 GB, free: 36.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.4589, allocations: 11.72 kB / 0.737 GB, free: 36.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.4591, allocations: 41.5 kB / 0.737 GB, free: 36.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4592, allocations: 48.72 kB / 0.7371 GB, free: 36.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.4593, allocations: 15.3 kB / 0.7371 GB, free: 36.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002203/0.4595, allocations: 258.3 kB / 0.7373 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4595, allocations: 0.5 kB / 0.7373 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005006/0.46, allocations: 170 kB / 0.7375 GB, free: 36.61 MB / 0.6355 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.0002988/0.4603, allocations: 186.2 kB / 0.7377 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008116/0.4611, allocations: 0.6219 MB / 0.7383 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.4611, allocations: 1.094 kB / 0.7383 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.4615, allocations: 256.2 kB / 0.7385 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.4621, allocations: 193.5 kB / 0.7387 GB, free: 36.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.4635, allocations: 1.001 MB / 0.7397 GB, free: 35.78 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.4637, allocations: 265.6 kB / 0.74 GB, free: 35.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.4638, allocations: 42.28 kB / 0.74 GB, free: 35.69 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.4638, allocations: 0 / 0.74 GB, free: 35.69 MB / 0.6355 GB Notification: Performance of Templates: time 0.01171/0.4756, allocations: 8.096 MB / 0.7479 GB, free: 35 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.078635551035404] Failed to read output from testmodel.py, exit status != 0: 0.4827726036310196 0.49015287300000004 0.046151544 Calling exit ...