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.0008428/0.0008428, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008836/0.0008836, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8993/0.8993, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7308/0.7308, allocations: 154.5 MB / 413.7 MB, free: 0.8359 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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.169e-05, allocations: 5.766 kB / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4513/0.4514, allocations: 147.7 MB / 0.7623 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004912/0.4563, allocations: 5.987 MB / 0.7682 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004534/0.4567, allocations: 19.44 kB / 0.7682 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005484/0.4573, allocations: 182.4 kB / 0.7684 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.4603, allocations: 0.8569 MB / 0.7692 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.4616, allocations: 394.6 kB / 0.7696 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.4626, allocations: 0.7105 MB / 0.7703 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.463, allocations: 222.7 kB / 0.7705 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.4646, allocations: 0.823 MB / 0.7713 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003592/0.465, allocations: 237.7 kB / 0.7715 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.465, allocations: 22.97 kB / 0.7716 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.4656, allocations: 289.3 kB / 0.7718 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.4657, allocations: 119.7 kB / 0.7719 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.4658, allocations: 116.2 kB / 0.7721 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005948/0.4664, allocations: 482.7 kB / 0.7725 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4664, allocations: 0 / 0.7725 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4664, allocations: 0.5156 kB / 0.7725 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.4664, allocations: 0.9375 kB / 0.7725 GB, free: 2.211 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.0006321/0.4671, allocations: 0.5428 MB / 0.773 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4671, allocations: 14.91 kB / 0.7731 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.4671, allocations: 60.8 kB / 0.7731 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.4674, allocations: 60.11 kB / 0.7732 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.4678, allocations: 270.3 kB / 0.7734 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.4678, allocations: 19.69 kB / 0.7734 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.4678, allocations: 24.84 kB / 0.7735 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.4682, allocations: 321.7 kB / 0.7738 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4682, allocations: 0.6094 kB / 0.7738 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.4682, allocations: 10.69 kB / 0.7738 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4682, allocations: 6.375 kB / 0.7738 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.4685, allocations: 210.3 kB / 0.774 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009314/0.4695, allocations: 1.198 MB / 0.7752 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.4696, allocations: 109.5 kB / 0.7753 GB, free: 236 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.4698, allocations: 89.59 kB / 0.7754 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.4701, allocations: 76.27 kB / 0.7754 GB, free: 196 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.4701, allocations: 35.81 kB / 0.7755 GB, free: 152 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.4701, allocations: 0 / 0.7755 GB, free: 152 kB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005414/0.4706, allocations: 270.8 kB / 0.7757 GB, free: 48 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.4707, allocations: 52.88 kB / 0.7758 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.471, allocations: 313.2 kB / 0.7761 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.471, allocations: 31.7 kB / 0.7761 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.4711, allocations: 186.1 kB / 0.7763 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.4711, allocations: 48.61 kB / 0.7763 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.4712, allocations: 34.5 kB / 0.7764 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4713, allocations: 340.2 kB / 0.7767 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.4714, allocations: 56.84 kB / 0.7767 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.4716, allocations: 190.8 kB / 0.7769 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.4718, allocations: 181.3 kB / 0.7771 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4718, allocations: 0 / 0.7771 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002985/0.4721, allocations: 225.3 kB / 0.7773 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4721, allocations: 6.953 kB / 0.7773 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4721, allocations: 1.344 kB / 0.7773 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.4722, allocations: 2.781 kB / 0.7773 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4723, allocations: 35.27 kB / 0.7774 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4723, allocations: 2.25 kB / 0.7774 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.4724, allocations: 32.67 kB / 0.7774 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.4724, allocations: 8.109 kB / 0.7774 GB, free: 14.84 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.0001389/0.4726, allocations: 154.8 kB / 0.7775 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.4726, allocations: 28.67 kB / 0.7776 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.4729, allocations: 206.9 kB / 0.7778 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4729, allocations: 1.469 kB / 0.7778 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4729, allocations: 0 / 0.7778 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4729, allocations: 4.938 kB / 0.7778 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/0.4739, allocations: 0.6423 MB / 0.7784 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.4739, allocations: 3.016 kB / 0.7784 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.4739, allocations: 25.28 kB / 0.7784 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.4739, allocations: 3.375 kB / 0.7784 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.4739, allocations: 7.688 kB / 0.7784 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.474, allocations: 9.953 kB / 0.7784 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.474, allocations: 2.312 kB / 0.7784 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.4742, allocations: 344 kB / 0.7788 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.4743, allocations: 43.73 kB / 0.7788 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.4743, allocations: 4.484 kB / 0.7788 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.4744, allocations: 13.17 kB / 0.7788 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.4745, allocations: 15.45 kB / 0.7788 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.4745, allocations: 8.219 kB / 0.7789 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001841/0.4747, allocations: 220.2 kB / 0.7791 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4747, allocations: 1.062 kB / 0.7791 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003624/0.475, allocations: 82.8 kB / 0.7791 GB, free: 13.71 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.0008229/0.4759, allocations: 0.904 MB / 0.78 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.4762, allocations: 152.7 kB / 0.7802 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4762, allocations: 1.125 kB / 0.7802 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.4763, allocations: 83.42 kB / 0.7803 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/0.4769, allocations: 153.7 kB / 0.7804 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.4796, allocations: 2.794 MB / 0.7831 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.4798, allocations: 180.8 kB / 0.7833 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002115/0.48, allocations: 62.36 kB / 0.7834 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.4801, allocations: 91.72 kB / 0.7834 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of SimCode: time 7.31e-07/0.4801, allocations: 0 / 0.7834 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.5064, allocations: 9.304 MB / 0.7925 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.736/7.242, allocations: 6.5 kB / 0.7925 GB, free: 8.664 MB / 0.6511 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.935534774325788] Failed to read output from testmodel.py, exit status != 0: 7.325754404067993 7.336932416 6.868014042 Calling exit ...