Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.0007707/0.0007707, 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.0008264/0.0008264, allocations: 174.3 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.893/0.893, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.7033/0.7033, allocations: 154.5 MB / 414.5 MB, free: 0.8672 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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.076e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4563/0.4563, allocations: 142.2 MB / 0.7581 GB, free: 12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004062/0.4604, allocations: 4.185 MB / 0.7622 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004675/0.4608, allocations: 14.72 kB / 0.7622 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.4614, allocations: 131.3 kB / 0.7624 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009682/0.4623, allocations: 348.4 kB / 0.7627 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009018/0.4632, allocations: 324.1 kB / 0.763 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000735/0.464, allocations: 0.5703 MB / 0.7636 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.4643, allocations: 163.6 kB / 0.7637 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.4659, allocations: 0.7397 MB / 0.7644 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.4662, allocations: 169.8 kB / 0.7646 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.4663, allocations: 16.75 kB / 0.7646 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.4665, allocations: 77.81 kB / 0.7647 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.4666, allocations: 90.75 kB / 0.7648 GB, free: 8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.677e-05/0.4667, allocations: 85.94 kB / 0.7649 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.4672, allocations: 318.7 kB / 0.7652 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4672, allocations: 0.6562 kB / 0.7652 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4672, allocations: 1.156 kB / 0.7652 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.4672, allocations: 0 / 0.7652 GB, free: 7.844 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007117/0.4679, allocations: 465 kB / 0.7656 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4679, allocations: 11.55 kB / 0.7656 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.468, allocations: 34.12 kB / 0.7656 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.4683, allocations: 233.4 kB / 0.7659 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.4684, allocations: 16.16 kB / 0.7659 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.4684, allocations: 16.62 kB / 0.7659 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.4688, allocations: 262 kB / 0.7661 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4688, allocations: 5.219 kB / 0.7662 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.4688, allocations: 10.06 kB / 0.7662 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4688, allocations: 8.688 kB / 0.7662 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.4691, allocations: 150.8 kB / 0.7663 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.4699, allocations: 1.231 MB / 0.7675 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.4701, allocations: 180.8 kB / 0.7677 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.4702, allocations: 97.7 kB / 0.7678 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.4705, allocations: 39.94 kB / 0.7678 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.4705, allocations: 43.02 kB / 0.7679 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/0.4705, allocations: 4 kB / 0.7679 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004638/0.4709, allocations: 197.1 kB / 0.7681 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.471, allocations: 188.3 kB / 0.7682 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.4712, allocations: 207.1 kB / 0.7684 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.4712, allocations: 30.95 kB / 0.7685 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.4713, allocations: 160.5 kB / 0.7686 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.4713, allocations: 42.91 kB / 0.7687 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.4713, allocations: 39.2 kB / 0.7687 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.082e-05/0.4714, allocations: 324.2 kB / 0.769 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.4715, allocations: 46.16 kB / 0.769 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.4716, allocations: 218.3 kB / 0.7693 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.4718, allocations: 160.5 kB / 0.7694 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4718, allocations: 0 / 0.7694 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002484/0.4721, allocations: 187.6 kB / 0.7696 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4721, allocations: 8.906 kB / 0.7696 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4721, allocations: 3.031 kB / 0.7696 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4721, allocations: 3.172 kB / 0.7696 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4722, allocations: 27.78 kB / 0.7696 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4723, allocations: 11.44 kB / 0.7696 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.295e-05/0.4723, allocations: 17.42 kB / 0.7697 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.4724, allocations: 11.41 kB / 0.7697 GB, free: 4.195 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.994e-05/0.4725, allocations: 144 kB / 0.7698 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.4725, allocations: 25.61 kB / 0.7698 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.4727, allocations: 129.2 kB / 0.7699 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.4728, allocations: 2.594 kB / 0.77 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4728, allocations: 3.156 kB / 0.77 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4728, allocations: 5.609 kB / 0.77 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.4733, allocations: 0.6904 MB / 0.7706 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4733, allocations: 1.844 kB / 0.7706 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.4734, allocations: 29.48 kB / 0.7707 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4734, allocations: 7.609 kB / 0.7707 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.4734, allocations: 1.5 kB / 0.7707 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4734, allocations: 3.797 kB / 0.7707 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4734, allocations: 1.5 kB / 0.7707 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.4737, allocations: 327.2 kB / 0.771 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.4738, allocations: 33.06 kB / 0.771 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.4738, allocations: 11.45 kB / 0.771 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.4739, allocations: 6.906 kB / 0.771 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.4739, allocations: 14.34 kB / 0.7711 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.4739, allocations: 7.484 kB / 0.7711 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.091e-05/0.474, allocations: 146.1 kB / 0.7712 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.474, allocations: 0 / 0.7712 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003029/0.4743, allocations: 63.27 kB / 0.7713 GB, free: 2.977 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0002253/0.4746, allocations: 127.8 kB / 0.7714 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.4748, allocations: 117.5 kB / 0.7715 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4748, allocations: 1.312 kB / 0.7715 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/0.4749, allocations: 57.56 kB / 0.7715 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.4753, allocations: 80.91 kB / 0.7716 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000764/0.4761, allocations: 476.5 kB / 0.7721 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.4762, allocations: 142.9 kB / 0.7722 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.4763, allocations: 20.7 kB / 0.7722 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/0.4763, allocations: 4 kB / 0.7722 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of Templates: time 0.005391/0.4817, allocations: 3.107 MB / 0.7753 GB, free: 2.082 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3909577941522] Failed to read output from testmodel.py, exit status != 0: 0.4878724981099367 0.49800837099999995 0.029067646000000003 Calling exit ...