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.0007065/0.0007065, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 13.93 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.0007175/0.0007175, allocations: 210.4 kB / 22.99 MB, free: 2.977 MB / 13.93 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.9369/0.9369, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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.7738/0.7738, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000957/0.000957, allocations: 65.47 kB / 0.7194 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.5005, allocations: 102 MB / 0.819 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1379/0.6384, allocations: 147.8 MB / 0.9634 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004654/0.643, allocations: 6.039 MB / 0.9693 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.6434, allocations: 19.81 kB / 0.9693 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.6438, allocations: 174.7 kB / 0.9695 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.6455, allocations: 0.8363 MB / 0.9703 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.6462, allocations: 357.3 kB / 0.9706 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005974/0.6468, allocations: 0.7252 MB / 0.9713 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.6471, allocations: 219.2 kB / 0.9715 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.6481, allocations: 0.724 MB / 0.9722 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.6484, allocations: 263 kB / 0.9725 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.6484, allocations: 20 kB / 0.9725 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.6488, allocations: 287.3 kB / 0.9728 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.6489, allocations: 111.6 kB / 0.9729 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.649, allocations: 139.3 kB / 0.973 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004607/0.6494, allocations: 470.2 kB / 0.9735 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6494, allocations: 3.984 kB / 0.9735 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6494, allocations: 4 kB / 0.9735 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.6495, allocations: 0 / 0.9735 GB, free: 6.926 MB / 0.7448 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.0006118/0.6501, allocations: 0.5438 MB / 0.974 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.6501, allocations: 8.031 kB / 0.974 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.6503, allocations: 63.73 kB / 0.9741 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.6507, allocations: 267.4 kB / 0.9743 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.6507, allocations: 20.66 kB / 0.9744 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.6507, allocations: 24 kB / 0.9744 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.6511, allocations: 328.9 kB / 0.9747 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.6511, allocations: 0 / 0.9747 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.6511, allocations: 12 kB / 0.9747 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.6511, allocations: 8 kB / 0.9747 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000247/0.6514, allocations: 205.5 kB / 0.9749 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008762/0.6523, allocations: 1.125 MB / 0.976 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.6524, allocations: 114.5 kB / 0.9761 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.574e-05/0.6525, allocations: 84.75 kB / 0.9762 GB, free: 4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.6528, allocations: 76.16 kB / 0.9763 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.6528, allocations: 30.56 kB / 0.9763 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.6528, allocations: 8 kB / 0.9763 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0004579/0.6533, allocations: 268.3 kB / 0.9766 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.6533, allocations: 51.41 kB / 0.9766 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.6536, allocations: 229.9 kB / 0.9768 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.6536, allocations: 25.7 kB / 0.9768 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.6537, allocations: 192.2 kB / 0.977 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.6537, allocations: 59.53 kB / 0.9771 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.6538, allocations: 29.72 kB / 0.9771 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.6539, allocations: 334.8 kB / 0.9774 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.6539, allocations: 59.89 kB / 0.9775 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.6541, allocations: 190.2 kB / 0.9777 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.6543, allocations: 177 kB / 0.9778 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6543, allocations: 0 / 0.9778 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002315/0.6545, allocations: 213.3 kB / 0.978 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6545, allocations: 10.19 kB / 0.9781 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6545, allocations: 0 / 0.9781 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6545, allocations: 4.156 kB / 0.9781 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.6546, allocations: 39.92 kB / 0.9781 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6546, allocations: 4 kB / 0.9781 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.6547, allocations: 19.88 kB / 0.9781 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.6547, allocations: 8 kB / 0.9781 GB, free: 1.898 MB / 0.7448 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 9.875e-05/0.6548, allocations: 153.8 kB / 0.9783 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.6549, allocations: 23.8 kB / 0.9783 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.6551, allocations: 203.3 kB / 0.9785 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6551, allocations: 8 kB / 0.9785 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6551, allocations: 0 / 0.9785 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6551, allocations: 0 / 0.9785 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.6557, allocations: 0.5973 MB / 0.9791 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6557, allocations: 8.156 kB / 0.9791 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.6558, allocations: 27.98 kB / 0.9791 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6558, allocations: 0 / 0.9791 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.6558, allocations: 4 kB / 0.9791 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.6558, allocations: 11.92 kB / 0.9791 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6558, allocations: 0 / 0.9791 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.656, allocations: 329.2 kB / 0.9794 GB, free: 444 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.6561, allocations: 31.84 kB / 0.9795 GB, free: 412 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.6561, allocations: 15.98 kB / 0.9795 GB, free: 396 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.6562, allocations: 4 kB / 0.9795 GB, free: 392 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.6562, allocations: 19.92 kB / 0.9795 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.6562, allocations: 4 kB / 0.9795 GB, free: 368 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.054e-05/0.6563, allocations: 165.2 kB / 0.9797 GB, free: 200 kB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.6563, allocations: 0 / 0.9797 GB, free: 200 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002584/0.6566, allocations: 83.77 kB / 0.9798 GB, free: 116 kB / 0.7448 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.000206/0.6568, allocations: 145.8 kB / 0.9799 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002458/0.657, allocations: 155.8 kB / 0.98 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.657, allocations: 3.938 kB / 0.98 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.6571, allocations: 76.33 kB / 0.9801 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.6575, allocations: 91.11 kB / 0.9802 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/0.6582, allocations: 0.5579 MB / 0.9808 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.6583, allocations: 179.4 kB / 0.9809 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.6583, allocations: 19.44 kB / 0.9809 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of SimCode: time 5.91e-07/0.6583, allocations: 0 / 0.9809 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of Templates: time 0.004463/0.6628, allocations: 3.933 MB / 0.9848 GB, free: 10.93 MB / 0.7605 GB " [Timeout remaining time 659] 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.3914601490832865] Failed to read output from testmodel.py, exit status != 0: 0.6684434358030558 0.676679528 0.025109946 Calling exit ...