Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9261/0.9261, allocations: 133.6 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.669/1.669, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009536/0.0009537, allocations: 99.72 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.769e-05, allocations: 4 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5485/0.5485, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9687/1.517, allocations: 315.6 MB / 0.9421 GB, free: 3.676 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/1.518, allocations: 78.64 kB / 0.9422 GB, free: 3.633 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.02191/1.54, allocations: 9.107 MB / 0.9511 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.555e-06/1.54, allocations: 4 kB / 0.9511 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.474e-05/1.54, allocations: 0 / 0.9511 GB, free: 12.33 MB / 0.5886 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.0005262/1.54, allocations: 342.2 kB / 0.9514 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.525e-05/1.54, allocations: 12.03 kB / 0.9515 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/1.54, allocations: 7.906 kB / 0.9515 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/1.541, allocations: 163 kB / 0.9516 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/1.541, allocations: 33.69 kB / 0.9517 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/1.541, allocations: 0 / 0.9517 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001054/1.541, allocations: 19.88 kB / 0.9517 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/1.541, allocations: 41.38 kB / 0.9517 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.541, allocations: 0 / 0.9517 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/1.541, allocations: 0 / 0.9517 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/1.541, allocations: 0 / 0.9517 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008578/1.542, allocations: 0.5784 MB / 0.9523 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.51e-05/1.542, allocations: 22.52 kB / 0.9523 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/1.542, allocations: 16.89 kB / 0.9523 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/1.542, allocations: 360.3 kB / 0.9527 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/1.542, allocations: 30.56 kB / 0.9527 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/1.542, allocations: 0 / 0.9527 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000307/1.543, allocations: 41.69 kB / 0.9527 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/1.543, allocations: 55.22 kB / 0.9528 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/1.543, allocations: 97.02 kB / 0.9529 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/1.543, allocations: 25.7 kB / 0.9529 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/1.543, allocations: 91.55 kB / 0.953 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/1.543, allocations: 4 kB / 0.953 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/1.543, allocations: 0 / 0.953 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.543, allocations: 314.8 kB / 0.9533 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/1.543, allocations: 4 kB / 0.9533 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/1.543, allocations: 17.52 kB / 0.9533 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/1.543, allocations: 27.92 kB / 0.9533 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.543, allocations: 0 / 0.9533 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001773/1.544, allocations: 61.42 kB / 0.9534 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/1.544, allocations: 8 kB / 0.9534 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.544, allocations: 0 / 0.9534 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.544, allocations: 3.984 kB / 0.9534 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/1.544, allocations: 4 kB / 0.9534 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.544, allocations: 64 / 0.9534 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/1.544, allocations: 8 kB / 0.9534 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/1.544, allocations: 3.938 kB / 0.9534 GB, free: 9.656 MB / 0.5886 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.964e-05/1.544, allocations: 104.9 kB / 0.9535 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001306/1.544, allocations: 41.69 kB / 0.9536 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/1.544, allocations: 7.984 kB / 0.9536 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/1.544, allocations: 113.9 kB / 0.9537 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-05/1.544, allocations: 188.2 kB / 0.9539 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.003e-05/1.545, allocations: 180.2 kB / 0.954 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.23e-05/1.545, allocations: 180.2 kB / 0.9542 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/1.545, allocations: 393.5 kB / 0.9546 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.669e-05/1.545, allocations: 101 kB / 0.9547 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/1.545, allocations: 105 kB / 0.9548 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.686e-05/1.545, allocations: 184.2 kB / 0.9549 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-05/1.545, allocations: 180.4 kB / 0.9551 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.138e-05/1.545, allocations: 176.3 kB / 0.9553 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-05/1.545, allocations: 184.2 kB / 0.9555 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/1.546, allocations: 315.4 kB / 0.9558 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/1.546, allocations: 186.1 kB / 0.9559 GB, free: 6.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-05/1.546, allocations: 183.7 kB / 0.9561 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/1.546, allocations: 108.9 kB / 0.9562 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/1.546, allocations: 184.2 kB / 0.9564 GB, free: 6.422 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/1.546, allocations: 105 kB / 0.9565 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.936e-05/1.546, allocations: 86.97 kB / 0.9566 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/1.546, allocations: 0 / 0.9566 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003048/1.547, allocations: 27.94 kB / 0.9566 GB, free: 6.203 MB / 0.5886 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006704/1.547, allocations: 0.8694 MB / 0.9575 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.941e-05/1.547, allocations: 7.625 kB / 0.9575 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.547, allocations: 0 / 0.9575 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/1.547, allocations: 8.125 kB / 0.9575 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/1.548, allocations: 0.5191 MB / 0.958 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/1.548, allocations: 176.3 kB / 0.9581 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/1.549, allocations: 0.6768 MB / 0.9588 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.041e-05/1.549, allocations: 13.81 kB / 0.9588 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/1.549, allocations: 11.38 kB / 0.9588 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of SimCode: time 2.31e-07/1.549, allocations: 0 / 0.9588 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/1.574, allocations: 1.487 MB / 0.9603 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003403/1.574, allocations: 197.1 kB / 0.9605 GB, free: 2.191 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/3.302, allocations: 0 / 0.9605 GB, free: 2.191 MB / 0.5886 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)