Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001737/0.001737, allocations: 108.2 kB / 16.45 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.002009/0.002009, allocations: 191.8 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.522/1.522, 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.124/1.124, allocations: 175.8 MB / 478.5 MB, free: 8.48 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.97 kB / 0.6652 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1968, allocations: 94.54 MB / 0.7575 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.4345/0.6314, allocations: 3.733 MB / 0.7611 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002453/0.6316, allocations: 152.9 kB / 0.7613 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.6316, allocations: 0 / 0.7613 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.6318, allocations: 8.469 kB / 0.7613 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.063e-05/0.6319, allocations: 14.34 kB / 0.7613 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.6323, allocations: 80.59 kB / 0.7614 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.6324, allocations: 34.78 kB / 0.7614 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.6325, allocations: 9.734 kB / 0.7614 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/0.6325, allocations: 19.05 kB / 0.7615 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.6326, allocations: 8.75 kB / 0.7615 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.6326, allocations: 1.062 kB / 0.7615 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007963/0.6334, allocations: 202.5 kB / 0.7617 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.6335, allocations: 10.08 kB / 0.7617 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.6335, allocations: 10.44 kB / 0.7617 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.6337, allocations: 42.2 kB / 0.7617 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6337, allocations: 0.5 kB / 0.7617 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6337, allocations: 0 / 0.7617 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6337, allocations: 1.625 kB / 0.7617 GB, free: 7.273 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.0004104/0.6341, allocations: 339.4 kB / 0.762 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.6342, allocations: 12.53 kB / 0.7621 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.6342, allocations: 31.47 kB / 0.7621 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.6343, allocations: 2.984 kB / 0.7621 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.274e-05/0.6344, allocations: 162.5 kB / 0.7622 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.6344, allocations: 28.17 kB / 0.7623 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.6344, allocations: 5.75 kB / 0.7623 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.6346, allocations: 52.05 kB / 0.7623 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6346, allocations: 6.312 kB / 0.7623 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.6346, allocations: 0 / 0.7623 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.6346, allocations: 1.703 kB / 0.7623 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.018e-05/0.6347, allocations: 16.08 kB / 0.7623 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.6351, allocations: 332.5 kB / 0.7627 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.614e-05/0.6351, allocations: 17.64 kB / 0.7627 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.6351, allocations: 10.8 kB / 0.7627 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.856e-05/0.6352, allocations: 84.23 kB / 0.7628 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.6352, allocations: 36.38 kB / 0.7628 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.6352, allocations: 0.625 kB / 0.7628 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001886/0.6354, allocations: 40.05 kB / 0.7628 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.6355, allocations: 52.2 kB / 0.7629 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.6355, allocations: 104.6 kB / 0.763 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.6355, allocations: 30.42 kB / 0.763 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.6356, allocations: 94.16 kB / 0.7631 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/0.6356, allocations: 1.281 kB / 0.7631 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.6356, allocations: 14.58 kB / 0.7631 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.6357, allocations: 320.2 kB / 0.7634 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.6357, allocations: 3.141 kB / 0.7634 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.6357, allocations: 19 kB / 0.7635 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/0.6357, allocations: 24.64 kB / 0.7635 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6358, allocations: 0 / 0.7635 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.266e-05/0.6358, allocations: 57 kB / 0.7635 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.6359, allocations: 5.562 kB / 0.7635 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.6359, allocations: 1.406 kB / 0.7635 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.6359, allocations: 0.75 kB / 0.7635 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/0.6359, allocations: 5.344 kB / 0.7635 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6359, allocations: 5.891 kB / 0.7635 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.636, allocations: 5.359 kB / 0.7636 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.636, allocations: 1.875 kB / 0.7636 GB, free: 5.332 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 5.573e-05/0.636, allocations: 116.2 kB / 0.7637 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.6361, allocations: 1.484 kB / 0.7637 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.339e-05/0.6361, allocations: 122.2 kB / 0.7638 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.6362, allocations: 182 kB / 0.764 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/0.6362, allocations: 182.2 kB / 0.7641 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/0.6362, allocations: 178.6 kB / 0.7643 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.6364, allocations: 407.1 kB / 0.7647 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/0.6364, allocations: 111 kB / 0.7648 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.6364, allocations: 102.7 kB / 0.7649 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-05/0.6364, allocations: 185.8 kB / 0.7651 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/0.6367, allocations: 177.9 kB / 0.7652 GB, free: 19.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.122e-05/0.6368, allocations: 178 kB / 0.7654 GB, free: 19.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.188e-05/0.6369, allocations: 181.7 kB / 0.7656 GB, free: 19.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.637, allocations: 319.1 kB / 0.7659 GB, free: 18.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.6372, allocations: 179.1 kB / 0.7661 GB, free: 18.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.6373, allocations: 183.3 kB / 0.7662 GB, free: 18.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.6374, allocations: 113.2 kB / 0.7663 GB, free: 18.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.6375, allocations: 178.6 kB / 0.7665 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/0.6376, allocations: 107.9 kB / 0.7666 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.794e-05/0.6377, allocations: 88.27 kB / 0.7667 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6377, allocations: 0 / 0.7667 GB, free: 17.97 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002964/0.638, allocations: 23.81 kB / 0.7667 GB, free: 17.96 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.0006933/0.6387, allocations: 0.8339 MB / 0.7675 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.6387, allocations: 11.22 kB / 0.7675 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6387, allocations: 0.6562 kB / 0.7675 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.6388, allocations: 1.375 kB / 0.7675 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.6392, allocations: 461.9 kB / 0.768 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.6405, allocations: 1.322 MB / 0.7693 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.6408, allocations: 0.6745 MB / 0.7699 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.235e-05/0.6409, allocations: 11.22 kB / 0.77 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.6409, allocations: 12.25 kB / 0.77 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/0.6409, allocations: 4 kB / 0.77 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.6644, allocations: 1.528 MB / 0.7715 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/9.008, allocations: 4.656 kB / 0.7715 GB, free: 14.33 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.946101178880781] Failed to read output from testmodel.py, exit status != 0: 9.075339884031564 9.088660256 8.451952946 Calling exit ...