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.006489/0.006489, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001469/0.001469, allocations: 188.9 kB / 16.67 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9201/0.9201, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4354, allocations: 80.91 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004212/0.4396, allocations: 3.3 MB / 0.6674 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 9.243e-05/0.4397, allocations: 55.69 kB / 0.6674 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.4398, allocations: 0 / 0.6674 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.4399, allocations: 1.312 kB / 0.6674 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.44, allocations: 22.75 kB / 0.6675 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005307/0.4405, allocations: 177.7 kB / 0.6676 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.876e-05/0.4406, allocations: 29.28 kB / 0.6677 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.4407, allocations: 6.234 kB / 0.6677 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.4407, allocations: 16.97 kB / 0.6677 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.4408, allocations: 22.53 kB / 0.6677 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.4408, allocations: 0 / 0.6677 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.4411, allocations: 171.6 kB / 0.6679 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.4412, allocations: 2.969 kB / 0.6679 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.4412, allocations: 12.86 kB / 0.6679 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.4415, allocations: 135.7 kB / 0.668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4415, allocations: 0 / 0.668 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4415, allocations: 3.984 kB / 0.668 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4415, allocations: 0 / 0.668 GB, free: 4.227 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.0003586/0.4419, allocations: 353.1 kB / 0.6683 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4419, allocations: 9.031 kB / 0.6684 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.516e-05/0.4419, allocations: 31.94 kB / 0.6684 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.442, allocations: 2.219 kB / 0.6684 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.546e-05/0.4421, allocations: 169.7 kB / 0.6685 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/0.4421, allocations: 31.42 kB / 0.6686 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.4422, allocations: 5.281 kB / 0.6686 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.4423, allocations: 39.72 kB / 0.6686 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4423, allocations: 0 / 0.6686 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.4423, allocations: 5.531 kB / 0.6686 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.4423, allocations: 0 / 0.6686 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.4424, allocations: 22.48 kB / 0.6686 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.4429, allocations: 0.5836 MB / 0.6692 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.509e-05/0.4429, allocations: 21.3 kB / 0.6692 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.469e-05/0.4429, allocations: 6.109 kB / 0.6692 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.4431, allocations: 345.3 kB / 0.6696 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.4431, allocations: 31.94 kB / 0.6696 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4431, allocations: 0 / 0.6696 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.4433, allocations: 40.42 kB / 0.6696 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.4433, allocations: 51.41 kB / 0.6697 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.4434, allocations: 108.5 kB / 0.6698 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.4434, allocations: 25.7 kB / 0.6698 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.4434, allocations: 89.3 kB / 0.6699 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.97e-06/0.4434, allocations: 1.25 kB / 0.6699 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.4435, allocations: 21.55 kB / 0.6699 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.287e-05/0.4435, allocations: 314.8 kB / 0.6702 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.4435, allocations: 2.75 kB / 0.6702 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.4435, allocations: 17.77 kB / 0.6702 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.4436, allocations: 27.84 kB / 0.6703 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4436, allocations: 1.438 kB / 0.6703 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.658e-05/0.4437, allocations: 53.78 kB / 0.6703 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.4437, allocations: 5.312 kB / 0.6703 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4437, allocations: 1.531 kB / 0.6703 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4437, allocations: 0 / 0.6703 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.572e-05/0.4438, allocations: 5.5 kB / 0.6703 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4438, allocations: 3.938 kB / 0.6703 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.4438, allocations: 1.438 kB / 0.6703 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.4438, allocations: 6.125 kB / 0.6703 GB, free: 1.598 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 5.689e-05/0.4439, allocations: 120.7 kB / 0.6705 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.4439, allocations: 1.531 kB / 0.6705 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.804e-05/0.444, allocations: 116 kB / 0.6706 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/0.444, allocations: 177.4 kB / 0.6707 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-05/0.4441, allocations: 193.7 kB / 0.6709 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.074e-05/0.4441, allocations: 189.4 kB / 0.6711 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.4442, allocations: 404.2 kB / 0.6715 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.4443, allocations: 104.9 kB / 0.6716 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.4443, allocations: 102.3 kB / 0.6717 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.415e-05/0.4444, allocations: 181.7 kB / 0.6719 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.4444, allocations: 189.9 kB / 0.672 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-05/0.4445, allocations: 180.3 kB / 0.6722 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.263e-05/0.4446, allocations: 185.3 kB / 0.6724 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.4447, allocations: 303.9 kB / 0.6727 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.4448, allocations: 191.5 kB / 0.6729 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/0.4449, allocations: 181.6 kB / 0.673 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.4451, allocations: 108.6 kB / 0.6731 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.4452, allocations: 180.2 kB / 0.6733 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.4452, allocations: 106.4 kB / 0.6734 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.4453, allocations: 84.84 kB / 0.6735 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4453, allocations: 4 kB / 0.6735 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003089/0.4456, allocations: 43.11 kB / 0.6735 GB, free: 14.16 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.0005555/0.4462, allocations: 0.859 MB / 0.6744 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.266e-05/0.4463, allocations: 14.36 kB / 0.6744 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4463, allocations: 0 / 0.6744 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.4463, allocations: 1.25 kB / 0.6744 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.4467, allocations: 468.5 kB / 0.6748 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.4477, allocations: 1.316 MB / 0.6761 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.448, allocations: 0.6759 MB / 0.6768 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.325e-05/0.4481, allocations: 10.84 kB / 0.6768 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.4481, allocations: 16.55 kB / 0.6768 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.4481, allocations: 1.5 kB / 0.6768 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.4673, allocations: 2.154 MB / 0.6789 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/7.732, allocations: 12.11 kB / 0.6789 GB, free: 9.668 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)