Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008218/0.0008218, 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.000849/0.000849, 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.8923/0.8923, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6939/0.6939, allocations: 154.6 MB / 414.5 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6194 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.741e-05, allocations: 2.281 kB / 0.6194 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4534/0.4534, allocations: 147.7 MB / 0.7636 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005269/0.4587, allocations: 6.003 MB / 0.7695 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004076/0.4591, allocations: 19.81 kB / 0.7695 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005401/0.4596, allocations: 170.7 kB / 0.7697 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.4616, allocations: 0.8705 MB / 0.7705 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009497/0.4626, allocations: 387.8 kB / 0.7709 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008757/0.4634, allocations: 0.7138 MB / 0.7716 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004392/0.4639, allocations: 219.2 kB / 0.7718 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.4654, allocations: 0.8175 MB / 0.7726 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003412/0.4657, allocations: 235.3 kB / 0.7728 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.4658, allocations: 24 kB / 0.7728 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005552/0.4663, allocations: 291.2 kB / 0.7731 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4665, allocations: 122.2 kB / 0.7732 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.4666, allocations: 119.7 kB / 0.7734 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006423/0.4672, allocations: 482.5 kB / 0.7738 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4672, allocations: 0 / 0.7738 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4672, allocations: 0 / 0.7738 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.4672, allocations: 0 / 0.7738 GB, free: 2.055 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.0007862/0.468, allocations: 0.5476 MB / 0.7743 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4681, allocations: 8.031 kB / 0.7744 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.4683, allocations: 63.73 kB / 0.7744 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.4688, allocations: 271.9 kB / 0.7747 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.4688, allocations: 16.66 kB / 0.7747 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.4689, allocations: 28 kB / 0.7747 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.4693, allocations: 317 kB / 0.775 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.4693, allocations: 4 kB / 0.775 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.4693, allocations: 8 kB / 0.775 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4693, allocations: 8 kB / 0.775 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.4696, allocations: 201.8 kB / 0.7752 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.4707, allocations: 1.126 MB / 0.7763 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.4709, allocations: 114.5 kB / 0.7764 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.471, allocations: 87.61 kB / 0.7765 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/0.4713, allocations: 79.86 kB / 0.7766 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4713, allocations: 34.56 kB / 0.7766 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.4713, allocations: 0 / 0.7766 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0004817/0.4718, allocations: 263.7 kB / 0.7769 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.4719, allocations: 55.41 kB / 0.7769 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.472, allocations: 221.9 kB / 0.7771 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.4721, allocations: 37.64 kB / 0.7772 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.4722, allocations: 200.1 kB / 0.7774 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.4722, allocations: 51.52 kB / 0.7774 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.4722, allocations: 41.7 kB / 0.7775 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.4723, allocations: 326.8 kB / 0.7778 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.4724, allocations: 59.95 kB / 0.7778 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.4727, allocations: 192.2 kB / 0.778 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.4729, allocations: 183.9 kB / 0.7782 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4729, allocations: 0 / 0.7782 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002339/0.4732, allocations: 209.5 kB / 0.7784 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4732, allocations: 8.031 kB / 0.7784 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4732, allocations: 3.938 kB / 0.7784 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4732, allocations: 4 kB / 0.7784 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4733, allocations: 35.91 kB / 0.7784 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4733, allocations: 4 kB / 0.7784 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.4734, allocations: 19.94 kB / 0.7785 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.4734, allocations: 8 kB / 0.7785 GB, free: 13.03 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.0001063/0.4735, allocations: 146.8 kB / 0.7786 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.4736, allocations: 35.73 kB / 0.7786 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.4738, allocations: 203.5 kB / 0.7788 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4738, allocations: 0 / 0.7788 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4738, allocations: 0.875 kB / 0.7788 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4738, allocations: 3.984 kB / 0.7788 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006165/0.4745, allocations: 0.5857 MB / 0.7794 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.4745, allocations: 5.375 kB / 0.7794 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.4745, allocations: 31.91 kB / 0.7795 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.4745, allocations: 4 kB / 0.7795 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4746, allocations: 8 kB / 0.7795 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4746, allocations: 0 / 0.7795 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4746, allocations: 4 kB / 0.7795 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.4748, allocations: 333.4 kB / 0.7798 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.4749, allocations: 43.75 kB / 0.7798 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.4749, allocations: 0 / 0.7798 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.475, allocations: 14.25 kB / 0.7798 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.475, allocations: 23.88 kB / 0.7799 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.475, allocations: 12 kB / 0.7799 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.654e-05/0.4751, allocations: 157.2 kB / 0.78 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4751, allocations: 4 kB / 0.78 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002855/0.4754, allocations: 75.78 kB / 0.7801 GB, free: 11.26 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.0002609/0.4757, allocations: 139.1 kB / 0.7802 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.4759, allocations: 157.5 kB / 0.7804 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4759, allocations: 0 / 0.7804 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.706e-05/0.476, allocations: 79.83 kB / 0.7805 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.4764, allocations: 92.69 kB / 0.7805 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.4772, allocations: 0.5457 MB / 0.7811 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.4773, allocations: 175.4 kB / 0.7812 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.4777, allocations: 24.5 kB / 0.7813 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of SimCode: time 7.01e-07/0.4777, allocations: 3.938 kB / 0.7813 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of Templates: time 0.004909/0.4826, allocations: 3.928 MB / 0.7851 GB, free: 6.094 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.872804593294859] Failed to read output from testmodel.py, exit status != 0: 0.4895162796601653 0.49908008600000003 0.029948813 Calling exit ...