Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001305/0.001305, 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.001136/0.001136, allocations: 177.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.8881/0.8881, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.6913/0.6913, allocations: 154.6 MB / 414.5 MB, free: 0.7891 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.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.6194 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.244e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4609/0.4609, allocations: 142.2 MB / 0.7582 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003859/0.4647, allocations: 4.186 MB / 0.7623 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.465, allocations: 14.66 kB / 0.7623 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.4654, allocations: 121.8 kB / 0.7624 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006992/0.4661, allocations: 352.8 kB / 0.7628 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.4668, allocations: 327.2 kB / 0.7631 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.4673, allocations: 0.5623 MB / 0.7636 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.4676, allocations: 167.6 kB / 0.7638 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.4688, allocations: 0.7426 MB / 0.7645 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.469, allocations: 174.7 kB / 0.7647 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.097e-05/0.469, allocations: 15.78 kB / 0.7647 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.4692, allocations: 83.38 kB / 0.7648 GB, free: 7.949 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.4693, allocations: 85.7 kB / 0.7648 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.4694, allocations: 86.69 kB / 0.7649 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.4697, allocations: 314.8 kB / 0.7652 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4697, allocations: 0 / 0.7652 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4697, allocations: 0 / 0.7652 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.4697, allocations: 5.125 kB / 0.7652 GB, free: 7.758 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.0006537/0.4704, allocations: 465.9 kB / 0.7657 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4704, allocations: 9.406 kB / 0.7657 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.4705, allocations: 32.75 kB / 0.7657 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.4708, allocations: 235.7 kB / 0.7659 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4708, allocations: 15.53 kB / 0.766 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.4708, allocations: 17.25 kB / 0.766 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.4711, allocations: 256.4 kB / 0.7662 GB, free: 7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.4712, allocations: 1.656 kB / 0.7662 GB, free: 7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4712, allocations: 9.406 kB / 0.7662 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4712, allocations: 6.047 kB / 0.7662 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.4714, allocations: 151.1 kB / 0.7664 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.4721, allocations: 1.238 MB / 0.7676 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.4723, allocations: 173 kB / 0.7678 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.826e-05/0.4724, allocations: 98.55 kB / 0.7678 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.4726, allocations: 39.42 kB / 0.7679 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.4726, allocations: 43.14 kB / 0.7679 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.4726, allocations: 0 / 0.7679 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003699/0.473, allocations: 204.9 kB / 0.7681 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.473, allocations: 188.8 kB / 0.7683 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.4732, allocations: 208.2 kB / 0.7685 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.4732, allocations: 26.98 kB / 0.7685 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.4732, allocations: 164.4 kB / 0.7687 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.4733, allocations: 38.11 kB / 0.7687 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.4733, allocations: 33.8 kB / 0.7688 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.741e-05/0.4733, allocations: 329.6 kB / 0.7691 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.4734, allocations: 46.7 kB / 0.7691 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.4735, allocations: 220.8 kB / 0.7693 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.4737, allocations: 150.9 kB / 0.7695 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4737, allocations: 6.75 kB / 0.7695 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002126/0.4739, allocations: 185.3 kB / 0.7696 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.4739, allocations: 5.938 kB / 0.7697 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4739, allocations: 3.188 kB / 0.7697 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.474, allocations: 2.281 kB / 0.7697 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.474, allocations: 37.16 kB / 0.7697 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.474, allocations: 6.797 kB / 0.7697 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.752e-05/0.4741, allocations: 20.03 kB / 0.7697 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.4742, allocations: 8.312 kB / 0.7697 GB, free: 4.129 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 7.554e-05/0.4742, allocations: 147.6 kB / 0.7699 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.4743, allocations: 25.61 kB / 0.7699 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.4745, allocations: 120.1 kB / 0.77 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4745, allocations: 10.05 kB / 0.77 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4745, allocations: 5.891 kB / 0.77 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.4745, allocations: 6.188 kB / 0.77 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.4749, allocations: 0.6977 MB / 0.7707 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4749, allocations: 1.062 kB / 0.7707 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.475, allocations: 22.27 kB / 0.7707 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.475, allocations: 6.219 kB / 0.7707 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.475, allocations: 10.59 kB / 0.7707 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.475, allocations: 3.297 kB / 0.7707 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.475, allocations: 5.469 kB / 0.7708 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.4753, allocations: 328 kB / 0.7711 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.4753, allocations: 28.59 kB / 0.7711 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4754, allocations: 7.812 kB / 0.7711 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.4754, allocations: 6.312 kB / 0.7711 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.4755, allocations: 13.95 kB / 0.7711 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.4755, allocations: 4.625 kB / 0.7711 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.198e-05/0.4755, allocations: 149.4 kB / 0.7713 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4755, allocations: 0 / 0.7713 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002166/0.4758, allocations: 62.81 kB / 0.7713 GB, free: 2.898 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.0001984/0.476, allocations: 124 kB / 0.7714 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.4762, allocations: 122 kB / 0.7716 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4762, allocations: 4.125 kB / 0.7716 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.4763, allocations: 54.83 kB / 0.7716 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.4766, allocations: 73.11 kB / 0.7717 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.4772, allocations: 473.8 kB / 0.7721 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.4773, allocations: 150.4 kB / 0.7723 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.4774, allocations: 20.64 kB / 0.7723 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of SimCode: time 4.01e-07/0.4774, allocations: 0 / 0.7723 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of Templates: time 0.004746/0.4821, allocations: 3.113 MB / 0.7753 GB, free: 2.016 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.4554099924862385] Failed to read output from testmodel.py, exit status != 0: 0.48788415640592575 0.49656887600000005 0.025096601000000003 Calling exit ...