Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 109.5 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.136/1.136, allocations: 175.8 MB / 478.4 MB, free: 8.473 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 68.41 kB / 0.6652 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1955, allocations: 94.54 MB / 0.7575 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.3789/0.5744, allocations: 4.024 MB / 0.7614 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002001/0.5746, allocations: 148.8 kB / 0.7616 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.5746, allocations: 1.344 kB / 0.7616 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.5747, allocations: 5.578 kB / 0.7616 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.575e-05/0.5748, allocations: 14.98 kB / 0.7616 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.5751, allocations: 82.22 kB / 0.7617 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.5752, allocations: 28.75 kB / 0.7617 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.5753, allocations: 3.484 kB / 0.7617 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.5753, allocations: 26.17 kB / 0.7617 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.5754, allocations: 10.41 kB / 0.7617 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.5754, allocations: 2.281 kB / 0.7617 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.5756, allocations: 65.41 kB / 0.7618 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.5757, allocations: 4.062 kB / 0.7618 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.5757, allocations: 13.61 kB / 0.7618 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.5758, allocations: 45.86 kB / 0.7619 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5758, allocations: 1.297 kB / 0.7619 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5758, allocations: 1 kB / 0.7619 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.5758, allocations: 0.75 kB / 0.7619 GB, free: 7.527 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003286/0.5762, allocations: 339.9 kB / 0.7622 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.5762, allocations: 9.156 kB / 0.7622 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.5762, allocations: 32.34 kB / 0.7622 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.5763, allocations: 4.562 kB / 0.7622 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.825e-05/0.5763, allocations: 162.5 kB / 0.7624 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.5764, allocations: 35.3 kB / 0.7624 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.5764, allocations: 6.969 kB / 0.7624 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.5765, allocations: 41.38 kB / 0.7625 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.5765, allocations: 0 / 0.7625 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.5765, allocations: 2.484 kB / 0.7625 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.5766, allocations: 5.797 kB / 0.7625 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.5766, allocations: 13.89 kB / 0.7625 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.577, allocations: 337.1 kB / 0.7628 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.16e-05/0.577, allocations: 21.86 kB / 0.7628 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.145e-05/0.577, allocations: 7.141 kB / 0.7628 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-05/0.5771, allocations: 83.94 kB / 0.7629 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.5771, allocations: 32.89 kB / 0.763 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5771, allocations: 0.5312 kB / 0.763 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.5772, allocations: 42.08 kB / 0.763 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.5772, allocations: 56.16 kB / 0.763 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.5773, allocations: 111.7 kB / 0.7632 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.5773, allocations: 25.7 kB / 0.7632 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.613e-05/0.5773, allocations: 89.98 kB / 0.7633 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-06/0.5774, allocations: 5.609 kB / 0.7633 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.5774, allocations: 17.48 kB / 0.7633 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.5774, allocations: 316.9 kB / 0.7636 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.5774, allocations: 2.812 kB / 0.7636 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.033e-05/0.5775, allocations: 22.61 kB / 0.7636 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.5775, allocations: 20.48 kB / 0.7636 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5775, allocations: 0.5625 kB / 0.7636 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.442e-05/0.5775, allocations: 52.34 kB / 0.7637 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.5776, allocations: 6.266 kB / 0.7637 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.5776, allocations: 1.344 kB / 0.7637 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.5776, allocations: 0 / 0.7637 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.078e-05/0.5776, allocations: 10.08 kB / 0.7637 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.5776, allocations: 1.469 kB / 0.7637 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.5776, allocations: 7.578 kB / 0.7637 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.5777, allocations: 6.109 kB / 0.7637 GB, free: 5.594 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 4.365e-05/0.5777, allocations: 119.7 kB / 0.7638 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.5777, allocations: 2.469 kB / 0.7638 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.776e-05/0.5778, allocations: 118.3 kB / 0.7639 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.5778, allocations: 181 kB / 0.7641 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/0.5778, allocations: 186 kB / 0.7643 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.5779, allocations: 177.5 kB / 0.7645 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.578, allocations: 412.3 kB / 0.7649 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.578, allocations: 103.1 kB / 0.765 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.578, allocations: 109.6 kB / 0.7651 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.096e-05/0.578, allocations: 182.3 kB / 0.7652 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002267/0.5783, allocations: 178.3 kB / 0.7654 GB, free: 19.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.237e-05/0.5783, allocations: 182.2 kB / 0.7656 GB, free: 19.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.555e-05/0.5784, allocations: 180.5 kB / 0.7657 GB, free: 19.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.5786, allocations: 311.2 kB / 0.766 GB, free: 19.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.5787, allocations: 183.4 kB / 0.7662 GB, free: 18.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.5788, allocations: 184.2 kB / 0.7664 GB, free: 18.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.579, allocations: 105 kB / 0.7665 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.5791, allocations: 186 kB / 0.7667 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.5791, allocations: 114.3 kB / 0.7668 GB, free: 18.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.758e-05/0.5792, allocations: 85.73 kB / 0.7669 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5792, allocations: 0 / 0.7669 GB, free: 18.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002788/0.5795, allocations: 19.91 kB / 0.7669 GB, free: 18.22 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0007113/0.5802, allocations: 0.8362 MB / 0.7677 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.297e-05/0.5803, allocations: 8.828 kB / 0.7677 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5803, allocations: 0 / 0.7677 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.5803, allocations: 0 / 0.7677 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.5807, allocations: 467.4 kB / 0.7682 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.5818, allocations: 1.322 MB / 0.7694 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.5821, allocations: 0.6746 MB / 0.7701 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.5821, allocations: 5.141 kB / 0.7701 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.5821, allocations: 14.09 kB / 0.7701 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5821, allocations: 0 / 0.7701 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.6073, allocations: 1.512 MB / 0.7716 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.769, allocations: 14.12 kB / 0.7716 GB, free: 14.55 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.7019951059483] Failed to read output from testmodel.py, exit status != 0: 8.839716293849051 8.860824766 8.280647101 Calling exit ...