Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 111.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 190.8 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.252/1.252, allocations: 175.5 MB / 473.4 MB, free: 4.832 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 70.55 kB / 0.6521 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.205, allocations: 90.05 MB / 0.74 GB, free: 348 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7263/0.9314, allocations: 181.8 MB / 0.9175 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006038/0.9374, allocations: 4.452 MB / 0.9219 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008674/0.9383, allocations: 19.31 kB / 0.9219 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.9391, allocations: 247.3 kB / 0.9221 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.9414, allocations: 0.7566 MB / 0.9229 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003923/0.9454, allocations: 1.54 MB / 0.9244 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001803/0.9472, allocations: 1.257 MB / 0.9256 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000716/0.9479, allocations: 457.2 kB / 0.926 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.9497, allocations: 0.7949 MB / 0.9268 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000512/0.9502, allocations: 395.9 kB / 0.9272 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.803e-05/0.9503, allocations: 51.47 kB / 0.9272 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.9533, allocations: 1.531 MB / 0.9287 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.9535, allocations: 189.6 kB / 0.9289 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.9539, allocations: 304.6 kB / 0.9292 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.9563, allocations: 1.319 MB / 0.9305 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9563, allocations: 0 / 0.9305 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9563, allocations: 0 / 0.9305 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.9563, allocations: 0 / 0.9305 GB, free: 11.77 MB / 0.6856 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.001899/0.9582, allocations: 1.042 MB / 0.9315 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.9583, allocations: 10.41 kB / 0.9315 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.9602, allocations: 284.2 kB / 0.9318 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008142/0.961, allocations: 479.2 kB / 0.9323 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.961, allocations: 30.25 kB / 0.9323 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/0.9611, allocations: 43.34 kB / 0.9323 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.9621, allocations: 0.5451 MB / 0.9329 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.9622, allocations: 3.938 kB / 0.9329 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.9622, allocations: 27.22 kB / 0.9329 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.9622, allocations: 10.03 kB / 0.9329 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.9632, allocations: 456.6 kB / 0.9333 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.9659, allocations: 2.116 MB / 0.9354 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009314/0.9668, allocations: 417.1 kB / 0.9358 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.9673, allocations: 225.8 kB / 0.936 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007153/0.968, allocations: 397.8 kB / 0.9364 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006101/0.9686, allocations: 296.1 kB / 0.9367 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 2.976e-06/0.9686, allocations: 0 / 0.9367 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.001847/0.9705, allocations: 0.6883 MB / 0.9373 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.9706, allocations: 57.09 kB / 0.9374 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.9712, allocations: 492.1 kB / 0.9379 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.763e-05/0.9712, allocations: 32.42 kB / 0.9379 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.9715, allocations: 264.1 kB / 0.9382 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.9716, allocations: 131.4 kB / 0.9383 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.9718, allocations: 98.62 kB / 0.9384 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.972, allocations: 359.3 kB / 0.9387 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.9725, allocations: 199.7 kB / 0.9389 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.9731, allocations: 318.7 kB / 0.9392 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.9741, allocations: 0.5585 MB / 0.9398 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9741, allocations: 0 / 0.9398 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001303/0.9755, allocations: 0.6386 MB / 0.9404 GB, free: 5.547 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.118e-05/0.9755, allocations: 65.14 kB / 0.9404 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.9755, allocations: 2.125 kB / 0.9404 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.9756, allocations: 9.312 kB / 0.9405 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.976, allocations: 98.66 kB / 0.9405 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.976, allocations: 8.656 kB / 0.9406 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.9766, allocations: 82.14 kB / 0.9406 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.9767, allocations: 19.12 kB / 0.9407 GB, free: 5.391 MB / 0.6856 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.0002813/0.977, allocations: 196.8 kB / 0.9408 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.977, allocations: 59.19 kB / 0.9409 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.9783, allocations: 0.5381 MB / 0.9414 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.9783, allocations: 2.75 kB / 0.9414 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9783, allocations: 0 / 0.9414 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.9783, allocations: 3.984 kB / 0.9414 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.9806, allocations: 1.351 MB / 0.9427 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9806, allocations: 4.969 kB / 0.9428 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.981, allocations: 81.19 kB / 0.9428 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.9811, allocations: 8.797 kB / 0.9428 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.9811, allocations: 15.81 kB / 0.9429 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.9811, allocations: 8.281 kB / 0.9429 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.9811, allocations: 5.75 kB / 0.9429 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.9829, allocations: 0.9468 MB / 0.9438 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.9832, allocations: 166.6 kB / 0.9439 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.82e-05/0.9833, allocations: 13.23 kB / 0.944 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.9837, allocations: 31.62 kB / 0.944 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.9838, allocations: 56.34 kB / 0.944 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.9839, allocations: 14.12 kB / 0.9441 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004322/0.9843, allocations: 346.2 kB / 0.9444 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9843, allocations: 0 / 0.9444 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005823/0.9849, allocations: 154.1 kB / 0.9445 GB, free: 2.797 MB / 0.6856 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.0005157/0.9854, allocations: 212.4 kB / 0.9447 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.9867, allocations: 0.5731 MB / 0.9453 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9867, allocations: 4.062 kB / 0.9453 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.9874, allocations: 260 kB / 0.9455 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.9888, allocations: 286.2 kB / 0.9458 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.9909, allocations: 1.09 MB / 0.9469 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.9915, allocations: 0.8585 MB / 0.9477 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.9917, allocations: 46.7 kB / 0.9478 GB, free: 492 kB / 0.6856 GB Notification: Performance of SimCode: time 6.81e-07/0.9917, allocations: 6.688 kB / 0.9478 GB, free: 488 kB / 0.6856 GB Notification: Performance of Templates: time 0.01591/1.008, allocations: 9.068 MB / 0.9566 GB, free: 11.81 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.026530486997217] Failed to read output from testmodel.py, exit status != 0: 1.0147680500085698 1.02875265 0.069634548 Calling exit ...