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.0008643/0.0008643, allocations: 101.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.001072/0.001072, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9633/0.9633, allocations: 230.6 MB / 256 MB, free: 9.602 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.81/0.81, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.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: 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.001083/0.001083, allocations: 65.56 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5683, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.161/0.7293, allocations: 147.8 MB / 0.9622 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005789/0.7351, allocations: 6.033 MB / 0.968 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005314/0.7357, allocations: 23.75 kB / 0.9681 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.7362, allocations: 174.7 kB / 0.9682 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.7383, allocations: 0.8324 MB / 0.969 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009345/0.7392, allocations: 360.8 kB / 0.9694 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000881/0.7401, allocations: 0.729 MB / 0.9701 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.7405, allocations: 211.2 kB / 0.9703 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.7422, allocations: 0.7317 MB / 0.971 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.7426, allocations: 263 kB / 0.9713 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.7427, allocations: 20 kB / 0.9713 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006933/0.7434, allocations: 287.3 kB / 0.9716 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.7435, allocations: 115.6 kB / 0.9717 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.7437, allocations: 131.3 kB / 0.9718 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008432/0.7445, allocations: 474.2 kB / 0.9723 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7445, allocations: 0 / 0.9723 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7445, allocations: 0 / 0.9723 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.7446, allocations: 0 / 0.9723 GB, free: 6.996 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.0008295/0.7454, allocations: 0.5516 MB / 0.9728 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.7454, allocations: 8.031 kB / 0.9728 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.88e-05/0.7455, allocations: 66.47 kB / 0.9729 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.7458, allocations: 63.67 kB / 0.9729 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.7462, allocations: 259.6 kB / 0.9732 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.7462, allocations: 20.66 kB / 0.9732 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.7462, allocations: 24 kB / 0.9732 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.7466, allocations: 320.9 kB / 0.9735 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.7467, allocations: 4 kB / 0.9735 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.7467, allocations: 8 kB / 0.9735 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.7467, allocations: 8 kB / 0.9735 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.747, allocations: 205.4 kB / 0.9737 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.7481, allocations: 1.206 MB / 0.9749 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.7483, allocations: 106.5 kB / 0.975 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.7484, allocations: 80.81 kB / 0.9751 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.7487, allocations: 84.16 kB / 0.9752 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.7487, allocations: 30.56 kB / 0.9752 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.7487, allocations: 0 / 0.9752 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0005101/0.7492, allocations: 275.9 kB / 0.9755 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.7493, allocations: 55.41 kB / 0.9755 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.7495, allocations: 312.5 kB / 0.9758 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.7495, allocations: 29.7 kB / 0.9758 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.7496, allocations: 184.2 kB / 0.976 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.7497, allocations: 47.59 kB / 0.9761 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.7497, allocations: 33.72 kB / 0.9761 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.7498, allocations: 346.7 kB / 0.9764 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/0.7499, allocations: 59.95 kB / 0.9765 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.75, allocations: 186.2 kB / 0.9767 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.7502, allocations: 180.9 kB / 0.9768 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7502, allocations: 3.938 kB / 0.9768 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000263/0.7505, allocations: 217.3 kB / 0.977 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7505, allocations: 4 kB / 0.977 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.7505, allocations: 7.984 kB / 0.9771 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7506, allocations: 0 / 0.9771 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.7507, allocations: 31.98 kB / 0.9771 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.7507, allocations: 3.984 kB / 0.9771 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.7508, allocations: 35.97 kB / 0.9771 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.7508, allocations: 7.938 kB / 0.9771 GB, free: 1.707 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 0.0001156/0.7509, allocations: 150.4 kB / 0.9773 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.751, allocations: 27.81 kB / 0.9773 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.7512, allocations: 216.2 kB / 0.9775 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.7512, allocations: 0 / 0.9775 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.7512, allocations: 0 / 0.9775 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.7513, allocations: 4 kB / 0.9775 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.7519, allocations: 0.6358 MB / 0.9781 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.7519, allocations: 4 kB / 0.9781 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.752, allocations: 27.92 kB / 0.9782 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.752, allocations: 8.156 kB / 0.9782 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.752, allocations: 15.92 kB / 0.9782 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.752, allocations: 0 / 0.9782 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.752, allocations: 4 kB / 0.9782 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.7523, allocations: 329.2 kB / 0.9785 GB, free: 180 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.7524, allocations: 47.78 kB / 0.9785 GB, free: 132 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.7524, allocations: 7.938 kB / 0.9786 GB, free: 124 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.7525, allocations: 8 kB / 0.9786 GB, free: 116 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.7525, allocations: 24 kB / 0.9786 GB, free: 92 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.7525, allocations: 8 kB / 0.9786 GB, free: 84 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001613/0.7527, allocations: 219.1 kB / 0.9788 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.7527, allocations: 0 / 0.9788 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003108/0.753, allocations: 83.81 kB / 0.9789 GB, free: 15.79 MB / 0.7605 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.000676/0.7537, allocations: 0.908 MB / 0.9798 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.754, allocations: 149.4 kB / 0.9799 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.754, allocations: 3.938 kB / 0.9799 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.7541, allocations: 84.38 kB / 0.98 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.7546, allocations: 137 kB / 0.9801 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.7572, allocations: 2.814 MB / 0.9829 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.7574, allocations: 167.8 kB / 0.983 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000182/0.7575, allocations: 74.86 kB / 0.9831 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.7576, allocations: 95.41 kB / 0.9832 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of SimCode: time 8.71e-07/0.7576, allocations: 0 / 0.9832 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.7835, allocations: 9.2 MB / 0.9922 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.601/7.384, allocations: 8.719 kB / 0.9922 GB, free: 2.203 MB / 0.7605 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: 10.375546428840607] Failed to read output from testmodel.py, exit status != 0: 7.4672056208364666 7.475466917 6.729046287 Calling exit ...