Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0008026/0.0008026, allocations: 76.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.0007792/0.0007792, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8656/0.8656, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.705/0.705, allocations: 154.5 MB / 414.5 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.922e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4501/0.4501, allocations: 147.7 MB / 0.7636 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004876/0.455, allocations: 5.995 MB / 0.7694 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.4552, allocations: 16.19 kB / 0.7694 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004678/0.4557, allocations: 173.8 kB / 0.7696 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.4572, allocations: 0.8649 MB / 0.7704 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.4579, allocations: 392.4 kB / 0.7708 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006572/0.4586, allocations: 0.7181 MB / 0.7715 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003239/0.4589, allocations: 214.2 kB / 0.7717 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.4601, allocations: 0.8193 MB / 0.7725 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.4604, allocations: 238.1 kB / 0.7728 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.4604, allocations: 21.75 kB / 0.7728 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.4609, allocations: 294 kB / 0.7731 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.461, allocations: 116 kB / 0.7732 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.933e-05/0.4611, allocations: 110.4 kB / 0.7733 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.4617, allocations: 487.7 kB / 0.7737 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4617, allocations: 0 / 0.7737 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4617, allocations: 1.188 kB / 0.7737 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.4617, allocations: 4 kB / 0.7737 GB, free: 2.277 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006689/0.4624, allocations: 0.5437 MB / 0.7743 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4624, allocations: 10.59 kB / 0.7743 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.4627, allocations: 66.8 kB / 0.7743 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.4631, allocations: 261.5 kB / 0.7746 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.4631, allocations: 24.66 kB / 0.7746 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.4631, allocations: 24.06 kB / 0.7746 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.4635, allocations: 318.2 kB / 0.7749 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4636, allocations: 1.438 kB / 0.7749 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.4636, allocations: 10.03 kB / 0.775 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.4636, allocations: 7.188 kB / 0.775 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/0.4639, allocations: 212 kB / 0.7752 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009252/0.4648, allocations: 1.123 MB / 0.7763 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.465, allocations: 117 kB / 0.7764 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4651, allocations: 82.91 kB / 0.7765 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002972/0.4654, allocations: 71.03 kB / 0.7765 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.4654, allocations: 36.06 kB / 0.7766 GB, free: 344 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.4654, allocations: 0 / 0.7766 GB, free: 344 kB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004782/0.4659, allocations: 276.4 kB / 0.7768 GB, free: 232 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.4659, allocations: 52.72 kB / 0.7769 GB, free: 168 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.4661, allocations: 224.2 kB / 0.7771 GB, free: 28 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.4661, allocations: 30.86 kB / 0.7771 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4662, allocations: 200.2 kB / 0.7773 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.4662, allocations: 48.45 kB / 0.7773 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.4663, allocations: 39.08 kB / 0.7774 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.4664, allocations: 334.4 kB / 0.7777 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.4665, allocations: 59.64 kB / 0.7778 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.4666, allocations: 191.3 kB / 0.7779 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.4669, allocations: 177.5 kB / 0.7781 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4669, allocations: 3.938 kB / 0.7781 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002693/0.4672, allocations: 214.1 kB / 0.7783 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4672, allocations: 5.531 kB / 0.7783 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4672, allocations: 5.75 kB / 0.7783 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4672, allocations: 1.562 kB / 0.7783 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.4673, allocations: 32.72 kB / 0.7784 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4673, allocations: 4.594 kB / 0.7784 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/0.4674, allocations: 17.39 kB / 0.7784 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.4674, allocations: 11.28 kB / 0.7784 GB, free: 15.05 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001115/0.4675, allocations: 153.5 kB / 0.7785 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.4676, allocations: 21.64 kB / 0.7786 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.4678, allocations: 206.8 kB / 0.7788 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4679, allocations: 10.16 kB / 0.7788 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4679, allocations: 0 / 0.7788 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4679, allocations: 4.781 kB / 0.7788 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006561/0.4685, allocations: 0.5934 MB / 0.7794 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4685, allocations: 2.438 kB / 0.7794 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.4686, allocations: 30.02 kB / 0.7794 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4686, allocations: 2.438 kB / 0.7794 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.4686, allocations: 8.203 kB / 0.7794 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.4686, allocations: 6.312 kB / 0.7794 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4686, allocations: 3.125 kB / 0.7794 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.4689, allocations: 326.3 kB / 0.7797 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.4689, allocations: 47.88 kB / 0.7798 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.469, allocations: 7.031 kB / 0.7798 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.469, allocations: 12.64 kB / 0.7798 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.4691, allocations: 14.95 kB / 0.7798 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.4691, allocations: 5 kB / 0.7798 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001096/0.4692, allocations: 165 kB / 0.78 GB, free: 14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4692, allocations: 0 / 0.78 GB, free: 14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002671/0.4695, allocations: 80.7 kB / 0.78 GB, free: 13.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0002309/0.4697, allocations: 137.9 kB / 0.7802 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002824/0.47, allocations: 154 kB / 0.7803 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.47, allocations: 0 / 0.7803 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.4701, allocations: 82.36 kB / 0.7804 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.4705, allocations: 84.2 kB / 0.7805 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.4711, allocations: 0.5619 MB / 0.781 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.4713, allocations: 172.9 kB / 0.7812 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.4713, allocations: 21.62 kB / 0.7812 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of SimCode: time 5.21e-07/0.4713, allocations: 3.938 kB / 0.7812 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of Templates: time 0.005443/0.4768, allocations: 3.941 MB / 0.7851 GB, free: 12.89 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.384962376207113] Failed to read output from testmodel.py, exit status != 0: 0.48232905846089125 0.49024173000000004 0.026863593 Calling exit ...