Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01003/0.01003, allocations: 100.2 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 193.5 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7474/0.7474, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 62.44 kB / 0.5808 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1897, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005958/0.1957, allocations: 3.723 MB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002329/0.196, allocations: 155.4 kB / 0.663 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.196, allocations: 0 / 0.663 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.1962, allocations: 7.984 kB / 0.663 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.1963, allocations: 7.922 kB / 0.663 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.1967, allocations: 94.42 kB / 0.6631 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.1968, allocations: 27.91 kB / 0.6631 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.1969, allocations: 7.984 kB / 0.6631 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.1969, allocations: 15.94 kB / 0.6631 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.197, allocations: 19.91 kB / 0.6631 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.197, allocations: 0 / 0.6631 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006532/0.1977, allocations: 183.4 kB / 0.6633 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.1978, allocations: 15.97 kB / 0.6633 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.1978, allocations: 7.938 kB / 0.6633 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.1979, allocations: 46.77 kB / 0.6634 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1979, allocations: 0 / 0.6634 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.198, allocations: 0 / 0.6634 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.198, allocations: 0 / 0.6634 GB, free: 9.68 MB / 0.4981 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.0004363/0.1984, allocations: 336.3 kB / 0.6637 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1985, allocations: 11.97 kB / 0.6637 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.1985, allocations: 38.75 kB / 0.6637 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/0.1986, allocations: 4.844 kB / 0.6637 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1987, allocations: 160.4 kB / 0.6639 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.479e-05/0.1988, allocations: 34.2 kB / 0.6639 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.1988, allocations: 4.125 kB / 0.6639 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1989, allocations: 45.67 kB / 0.664 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.199, allocations: 4 kB / 0.664 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.199, allocations: 3.938 kB / 0.664 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.199, allocations: 3.984 kB / 0.664 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.599e-05/0.1991, allocations: 19.98 kB / 0.664 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.1995, allocations: 334 kB / 0.6643 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.011e-05/0.1996, allocations: 22.52 kB / 0.6643 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.1996, allocations: 4.859 kB / 0.6644 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.851e-05/0.1997, allocations: 81.17 kB / 0.6644 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1997, allocations: 34.56 kB / 0.6645 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1997, allocations: 4 kB / 0.6645 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001648/0.1999, allocations: 37.69 kB / 0.6645 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.2, allocations: 51.41 kB / 0.6646 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/0.2001, allocations: 101.8 kB / 0.6646 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.2001, allocations: 33.69 kB / 0.6647 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.2001, allocations: 84.05 kB / 0.6648 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.2002, allocations: 3.906 kB / 0.6648 GB, free: 8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.2002, allocations: 17.84 kB / 0.6648 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2003, allocations: 322.8 kB / 0.6651 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.683e-05/0.2004, allocations: 3.984 kB / 0.6651 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.2004, allocations: 13.72 kB / 0.6651 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.681e-05/0.2004, allocations: 21.72 kB / 0.6651 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2004, allocations: 0 / 0.6651 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.148e-05/0.2005, allocations: 53.62 kB / 0.6652 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2006, allocations: 4 kB / 0.6652 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2006, allocations: 4 kB / 0.6652 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2006, allocations: 0 / 0.6652 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.2006, allocations: 7.984 kB / 0.6652 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2007, allocations: 0 / 0.6652 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.2007, allocations: 8 kB / 0.6652 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2007, allocations: 0 / 0.6652 GB, free: 7.52 MB / 0.4981 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 9.087e-05/0.2008, allocations: 118.4 kB / 0.6653 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.2008, allocations: 4 kB / 0.6653 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.201, allocations: 132.8 kB / 0.6654 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.814e-05/0.2011, allocations: 176.3 kB / 0.6656 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.618e-05/0.2012, allocations: 180.2 kB / 0.6658 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.934e-05/0.2013, allocations: 180.2 kB / 0.666 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.2015, allocations: 417.1 kB / 0.6664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.489e-05/0.2016, allocations: 104.9 kB / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.2017, allocations: 105 kB / 0.6666 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.474e-05/0.2018, allocations: 184.2 kB / 0.6667 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.693e-05/0.2018, allocations: 180.3 kB / 0.6669 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.117e-05/0.2019, allocations: 184.2 kB / 0.6671 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.283e-05/0.202, allocations: 180.3 kB / 0.6672 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.2022, allocations: 311.7 kB / 0.6675 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.2023, allocations: 178.1 kB / 0.6677 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.2024, allocations: 180.2 kB / 0.6679 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2026, allocations: 113 kB / 0.668 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.2027, allocations: 184.2 kB / 0.6682 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/0.2028, allocations: 105 kB / 0.6683 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.844e-05/0.2028, allocations: 87.27 kB / 0.6684 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2028, allocations: 0 / 0.6684 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002964/0.2031, allocations: 15.94 kB / 0.6684 GB, free: 4.047 MB / 0.4981 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.0006285/0.2038, allocations: 0.8321 MB / 0.6692 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.296e-05/0.2039, allocations: 8 kB / 0.6692 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2039, allocations: 0 / 0.6692 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/0.2039, allocations: 8.125 kB / 0.6692 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.2043, allocations: 459.7 kB / 0.6696 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2054, allocations: 1.321 MB / 0.6709 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.2056, allocations: 0.6807 MB / 0.6716 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.145e-05/0.2057, allocations: 4 kB / 0.6716 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.2057, allocations: 11.44 kB / 0.6716 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.2057, allocations: 0 / 0.6716 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.2221, allocations: 1.527 MB / 0.6731 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.559, allocations: 0.6562 kB / 0.6731 GB, free: 15.21 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)