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.0008365/0.0008365, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.0008711/0.0008711, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.9451/0.9451, allocations: 230.6 MB / 256 MB, free: 9.629 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.8138/0.8138, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [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.001444/0.001444, allocations: 62 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5273, allocations: 102 MB / 0.8178 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1328/0.6601, allocations: 142.2 MB / 0.9567 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003815/0.6639, allocations: 4.19 MB / 0.9608 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003197/0.6642, allocations: 15.88 kB / 0.9608 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.6646, allocations: 127.1 kB / 0.9609 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006376/0.6653, allocations: 342.5 kB / 0.9613 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.6659, allocations: 302.5 kB / 0.9615 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.6664, allocations: 0.5651 MB / 0.9621 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.6667, allocations: 175.8 kB / 0.9623 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.6678, allocations: 0.6694 MB / 0.9629 GB, free: 436 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.668, allocations: 187.3 kB / 0.9631 GB, free: 248 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.668, allocations: 16 kB / 0.9631 GB, free: 232 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.6681, allocations: 79.88 kB / 0.9632 GB, free: 152 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.6682, allocations: 99.7 kB / 0.9633 GB, free: 52 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.879e-05/0.6683, allocations: 95.62 kB / 0.9634 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.6686, allocations: 302.8 kB / 0.9637 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6686, allocations: 0 / 0.9637 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6686, allocations: 4 kB / 0.9637 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.6686, allocations: 3.938 kB / 0.9637 GB, free: 15.65 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006327/0.6693, allocations: 480.7 kB / 0.9641 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.6693, allocations: 8.031 kB / 0.9641 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.6693, allocations: 54.55 kB / 0.9642 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.6694, allocations: 31.75 kB / 0.9642 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.6697, allocations: 225.7 kB / 0.9644 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.6697, allocations: 12 kB / 0.9644 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.6697, allocations: 20 kB / 0.9645 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.67, allocations: 269.6 kB / 0.9647 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.67, allocations: 3.938 kB / 0.9647 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.67, allocations: 4 kB / 0.9647 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.67, allocations: 8 kB / 0.9647 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.6702, allocations: 151.8 kB / 0.9649 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.6712, allocations: 1.296 MB / 0.9661 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.6716, allocations: 171.7 kB / 0.9663 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.928e-05/0.6717, allocations: 97.05 kB / 0.9664 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.6719, allocations: 43.92 kB / 0.9664 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.6719, allocations: 46.44 kB / 0.9665 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.6719, allocations: 0 / 0.9665 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003939/0.6723, allocations: 201.6 kB / 0.9667 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.6724, allocations: 191.9 kB / 0.9669 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.6726, allocations: 288.2 kB / 0.9671 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.6726, allocations: 29.7 kB / 0.9672 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.349e-05/0.6727, allocations: 152 kB / 0.9673 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.6727, allocations: 35.69 kB / 0.9673 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.6727, allocations: 42.05 kB / 0.9674 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.6728, allocations: 334.8 kB / 0.9677 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.216e-05/0.6729, allocations: 43.97 kB / 0.9677 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.673, allocations: 220.7 kB / 0.968 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.6732, allocations: 158.7 kB / 0.9681 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6732, allocations: 0 / 0.9681 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002133/0.6734, allocations: 197.5 kB / 0.9683 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.6734, allocations: 10.28 kB / 0.9683 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6735, allocations: 4.219 kB / 0.9683 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.6735, allocations: 4 kB / 0.9683 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.6736, allocations: 35.98 kB / 0.9684 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.6736, allocations: 7.938 kB / 0.9684 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.173e-05/0.6737, allocations: 31.75 kB / 0.9684 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.6737, allocations: 4 kB / 0.9684 GB, free: 10.39 MB / 0.7448 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 8.863e-05/0.6738, allocations: 149.8 kB / 0.9685 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.6738, allocations: 31.75 kB / 0.9686 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.674, allocations: 135 kB / 0.9687 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.674, allocations: 0 / 0.9687 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.674, allocations: 4 kB / 0.9687 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.674, allocations: 0 / 0.9687 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005506/0.6746, allocations: 0.7292 MB / 0.9694 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.6746, allocations: 4 kB / 0.9694 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.944e-05/0.6747, allocations: 27.92 kB / 0.9694 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6747, allocations: 4 kB / 0.9694 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.6747, allocations: 4.156 kB / 0.9694 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.6747, allocations: 4 kB / 0.9695 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6747, allocations: 0 / 0.9695 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.675, allocations: 339.5 kB / 0.9698 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.6751, allocations: 35.83 kB / 0.9698 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.6751, allocations: 4 kB / 0.9698 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.6752, allocations: 11.98 kB / 0.9698 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.6752, allocations: 19.92 kB / 0.9698 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.6752, allocations: 4 kB / 0.9698 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001341/0.6753, allocations: 211.1 kB / 0.97 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.6753, allocations: 0 / 0.97 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002393/0.6756, allocations: 55.94 kB / 0.9701 GB, free: 8.516 MB / 0.7448 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.0005548/0.6761, allocations: 0.8883 MB / 0.971 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.6763, allocations: 119.8 kB / 0.9711 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6763, allocations: 4.125 kB / 0.9711 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/0.6764, allocations: 59.89 kB / 0.9711 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.6769, allocations: 135.6 kB / 0.9713 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.679, allocations: 2.617 MB / 0.9738 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.745e-05/0.6791, allocations: 146.2 kB / 0.974 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.6792, allocations: 54.23 kB / 0.974 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.321e-05/0.6793, allocations: 71.41 kB / 0.9741 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.6793, allocations: 0 / 0.9741 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.7021, allocations: 7.83 MB / 0.9817 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/7.346, allocations: 15.41 kB / 0.9818 GB, free: 12.59 MB / 0.7605 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.345971596892923] Failed to read output from testmodel.py, exit status != 0: 7.434684765059501 7.449305494 6.778218039 Calling exit ...