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/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-master/package.mo", uses=false) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006707/0.006707, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001396/0.001396, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9983/0.9983, allocations: 135.6 MB / 426.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.83 kB / 0.5858 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4355, allocations: 81.02 MB / 0.6649 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004191/0.4397, allocations: 3.286 MB / 0.6681 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 9.1e-05/0.4398, allocations: 47.42 kB / 0.6681 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.973e-05/0.4399, allocations: 4 kB / 0.6681 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.44, allocations: 5.062 kB / 0.6681 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.229e-05/0.4401, allocations: 14.59 kB / 0.6682 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.4406, allocations: 184.5 kB / 0.6683 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.503e-05/0.4407, allocations: 36.69 kB / 0.6684 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.4407, allocations: 6.188 kB / 0.6684 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.4408, allocations: 12.27 kB / 0.6684 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.4408, allocations: 14.14 kB / 0.6684 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.4408, allocations: 1.5 kB / 0.6684 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.4412, allocations: 171.8 kB / 0.6686 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.4412, allocations: 10.42 kB / 0.6686 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.4413, allocations: 13.17 kB / 0.6686 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.4415, allocations: 133.9 kB / 0.6687 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.4415, allocations: 0 / 0.6687 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4415, allocations: 4 kB / 0.6687 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.4415, allocations: 0 / 0.6687 GB, free: 3.809 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.0003384/0.4419, allocations: 345.1 kB / 0.6691 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4419, allocations: 13.14 kB / 0.6691 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.442, allocations: 39.94 kB / 0.6691 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.442, allocations: 9.891 kB / 0.6691 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.957e-05/0.4421, allocations: 161.8 kB / 0.6693 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.963e-05/0.4421, allocations: 27.58 kB / 0.6693 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.4422, allocations: 5.562 kB / 0.6693 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.4423, allocations: 55.33 kB / 0.6694 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4423, allocations: 0 / 0.6694 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.4423, allocations: 1.375 kB / 0.6694 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.4423, allocations: 0 / 0.6694 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.4424, allocations: 13.98 kB / 0.6694 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.4429, allocations: 0.5879 MB / 0.6699 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.349e-05/0.4429, allocations: 24.7 kB / 0.67 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.4429, allocations: 5.984 kB / 0.67 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.4431, allocations: 338.3 kB / 0.6703 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.4431, allocations: 35.66 kB / 0.6703 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.4431, allocations: 0 / 0.6703 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000131/0.4432, allocations: 35.72 kB / 0.6704 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.4433, allocations: 52.81 kB / 0.6704 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.073e-05/0.4433, allocations: 103.5 kB / 0.6705 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.4433, allocations: 27.02 kB / 0.6705 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.4434, allocations: 93.27 kB / 0.6706 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.4434, allocations: 7.891 kB / 0.6706 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.4434, allocations: 17.34 kB / 0.6706 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.285e-05/0.4435, allocations: 315.9 kB / 0.6709 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.4435, allocations: 7.047 kB / 0.671 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-05/0.4435, allocations: 26.19 kB / 0.671 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.4436, allocations: 15.47 kB / 0.671 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4436, allocations: 0 / 0.671 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.653e-05/0.4436, allocations: 50.53 kB / 0.671 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4437, allocations: 5.906 kB / 0.6711 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4437, allocations: 0 / 0.6711 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.4437, allocations: 5.375 kB / 0.6711 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.177e-05/0.4437, allocations: 8.906 kB / 0.6711 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4437, allocations: 1.406 kB / 0.6711 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.4438, allocations: 3.984 kB / 0.6711 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.4438, allocations: 3.031 kB / 0.6711 GB, free: 1.172 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 4.561e-05/0.4438, allocations: 114.9 kB / 0.6712 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.4439, allocations: 5.016 kB / 0.6712 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.47e-05/0.4439, allocations: 119.1 kB / 0.6713 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.444, allocations: 185.4 kB / 0.6715 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/0.444, allocations: 189.4 kB / 0.6717 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.444, allocations: 177.9 kB / 0.6718 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.4442, allocations: 411.7 kB / 0.6722 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.591e-05/0.4443, allocations: 105 kB / 0.6723 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.4443, allocations: 102.6 kB / 0.6724 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.938e-05/0.4444, allocations: 185.3 kB / 0.6726 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.4445, allocations: 181.4 kB / 0.6728 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.096e-05/0.4446, allocations: 185.5 kB / 0.6729 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001026/0.4447, allocations: 180.3 kB / 0.6731 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.4449, allocations: 316.1 kB / 0.6734 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/0.445, allocations: 179.2 kB / 0.6736 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.4452, allocations: 183.1 kB / 0.6738 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.4453, allocations: 111.5 kB / 0.6739 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4455, allocations: 177.5 kB / 0.674 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/0.4455, allocations: 108.9 kB / 0.6741 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.4456, allocations: 80.44 kB / 0.6742 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4456, allocations: 1.062 kB / 0.6742 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003147/0.4459, allocations: 43.14 kB / 0.6743 GB, free: 13.74 MB / 0.5137 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.0007576/0.4467, allocations: 0.8654 MB / 0.6751 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.185e-05/0.4468, allocations: 14.38 kB / 0.6751 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4468, allocations: 3.938 kB / 0.6751 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.4468, allocations: 9.312 kB / 0.6751 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.4474, allocations: 454.4 kB / 0.6756 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.4488, allocations: 1.331 MB / 0.6769 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.4492, allocations: 0.6756 MB / 0.6775 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.195e-05/0.4492, allocations: 7.641 kB / 0.6775 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.4493, allocations: 9.719 kB / 0.6775 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.4493, allocations: 0 / 0.6775 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.4751, allocations: 2.148 MB / 0.6796 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.291/8.767, allocations: 10.31 kB / 0.6796 GB, free: 9.242 MB / 0.5137 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/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)