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.001793/0.001794, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.741/0.741, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.717/1.717, allocations: 221.3 MB / 400.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008889, allocations: 95.25 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.767e-05, allocations: 2.844 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1966, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9849/1.182, allocations: 316.3 MB / 0.9494 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003821/1.182, allocations: 81.02 kB / 0.9495 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.0238/1.206, allocations: 9.161 MB / 0.9584 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.958e-06/1.206, allocations: 0 / 0.9584 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.547e-05/1.206, allocations: 4 kB / 0.9584 GB, free: 13.36 MB / 0.6823 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.000712/1.207, allocations: 338.8 kB / 0.9587 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.645e-05/1.207, allocations: 11.97 kB / 0.9587 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.659e-05/1.207, allocations: 30.56 kB / 0.9588 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/1.207, allocations: 7.906 kB / 0.9588 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/1.207, allocations: 167 kB / 0.9589 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-05/1.207, allocations: 33.64 kB / 0.959 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/1.207, allocations: 7.672 kB / 0.959 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/1.208, allocations: 41.69 kB / 0.959 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.208, allocations: 0 / 0.959 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/1.208, allocations: 0 / 0.959 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/1.208, allocations: 0 / 0.959 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.35e-05/1.208, allocations: 19.23 kB / 0.959 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009896/1.209, allocations: 0.5935 MB / 0.9596 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.381e-05/1.209, allocations: 22.58 kB / 0.9596 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/1.209, allocations: 4.859 kB / 0.9596 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/1.209, allocations: 364.3 kB / 0.96 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/1.209, allocations: 34.56 kB / 0.96 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 3.857e-06/1.209, allocations: 3.984 kB / 0.96 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001995/1.21, allocations: 37.33 kB / 0.9601 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/1.21, allocations: 55.36 kB / 0.9601 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/1.21, allocations: 97.02 kB / 0.9602 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/1.21, allocations: 29.7 kB / 0.9602 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/1.21, allocations: 94.86 kB / 0.9603 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/1.21, allocations: 0 / 0.9603 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/1.21, allocations: 0 / 0.9603 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.21, allocations: 314.5 kB / 0.9606 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/1.21, allocations: 4 kB / 0.9606 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/1.21, allocations: 17.7 kB / 0.9606 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.318e-05/1.21, allocations: 8 kB / 0.9606 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.21, allocations: 0 / 0.9606 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001034/1.21, allocations: 53.34 kB / 0.9607 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.21, allocations: 8 kB / 0.9607 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.21, allocations: 0 / 0.9607 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.21, allocations: 0 / 0.9607 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/1.21, allocations: 4 kB / 0.9607 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.21, allocations: 4 kB / 0.9607 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/1.211, allocations: 8.016 kB / 0.9607 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/1.211, allocations: 0 / 0.9607 GB, free: 10.65 MB / 0.6823 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 0.000105/1.211, allocations: 108.9 kB / 0.9608 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/1.211, allocations: 3.938 kB / 0.9608 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/1.211, allocations: 118.8 kB / 0.9609 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-05/1.211, allocations: 180.2 kB / 0.9611 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.143e-05/1.211, allocations: 184.2 kB / 0.9613 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.513e-05/1.211, allocations: 191.9 kB / 0.9615 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/1.211, allocations: 405.1 kB / 0.9619 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.824e-05/1.212, allocations: 105 kB / 0.962 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/1.212, allocations: 104 kB / 0.9621 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.365e-05/1.212, allocations: 184.2 kB / 0.9622 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.138e-05/1.212, allocations: 176.3 kB / 0.9624 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.767e-05/1.212, allocations: 184.2 kB / 0.9626 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.487e-05/1.212, allocations: 180.3 kB / 0.9627 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/1.212, allocations: 310.5 kB / 0.963 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/1.212, allocations: 192.9 kB / 0.9632 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.57e-05/1.212, allocations: 184.2 kB / 0.9634 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/1.212, allocations: 105 kB / 0.9635 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/1.213, allocations: 187.7 kB / 0.9637 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/1.213, allocations: 101 kB / 0.9638 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.783e-05/1.213, allocations: 87.28 kB / 0.9639 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.213, allocations: 0 / 0.9639 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003289/1.213, allocations: 31.25 kB / 0.9639 GB, free: 7.203 MB / 0.6823 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.0006657/1.214, allocations: 0.8676 MB / 0.9647 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.796e-05/1.214, allocations: 11.19 kB / 0.9648 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.214, allocations: 0 / 0.9648 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/1.214, allocations: 0 / 0.9648 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/1.214, allocations: 0.5302 MB / 0.9653 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/1.215, allocations: 169.9 kB / 0.9654 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/1.215, allocations: 0.6809 MB / 0.9661 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.523e-05/1.215, allocations: 13.95 kB / 0.9661 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/1.215, allocations: 11.44 kB / 0.9661 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/1.215, allocations: 0 / 0.9661 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/1.233, allocations: 1.866 MB / 0.9679 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/1.233, allocations: 202.1 kB / 0.9681 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/3.162, allocations: 6.516 kB / 0.9681 GB, free: 2.945 MB / 0.6823 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)