Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_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.001436/0.001436, allocations: 183 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5294/0.5294, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.806/1.806, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 108.2 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004224, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1796, allocations: 72.3 MB / 0.5689 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.381, allocations: 305.1 MB / 0.8669 GB, free: 179.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.381, allocations: 77.59 kB / 0.8669 GB, free: 179.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01997/1.401, allocations: 9.195 MB / 0.8759 GB, free: 170.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.875e-06/1.402, allocations: 0 / 0.8759 GB, free: 170.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.06e-05/1.402, allocations: 0 / 0.8759 GB, free: 170.1 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.0003977/1.402, allocations: 350.6 kB / 0.8763 GB, free: 169.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/1.402, allocations: 16.03 kB / 0.8763 GB, free: 169.7 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/1.402, allocations: 30.56 kB / 0.8763 GB, free: 169.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/1.402, allocations: 3.953 kB / 0.8763 GB, free: 169.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/1.402, allocations: 167.1 kB / 0.8765 GB, free: 169.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.68e-05/1.402, allocations: 29.69 kB / 0.8765 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/1.402, allocations: 0 / 0.8765 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/1.403, allocations: 45.62 kB / 0.8765 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.403, allocations: 0 / 0.8765 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/1.403, allocations: 7.984 kB / 0.8765 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/1.403, allocations: 7.953 kB / 0.8766 GB, free: 169.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/1.403, allocations: 11.98 kB / 0.8766 GB, free: 169.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/1.403, allocations: 0.5795 MB / 0.8771 GB, free: 168.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/1.403, allocations: 14.58 kB / 0.8771 GB, free: 168.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/1.404, allocations: 352.4 kB / 0.8775 GB, free: 168.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/1.404, allocations: 42.45 kB / 0.8775 GB, free: 168.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/1.404, allocations: 0 / 0.8775 GB, free: 168.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001714/1.404, allocations: 37.7 kB / 0.8776 GB, free: 168.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/1.404, allocations: 55.39 kB / 0.8776 GB, free: 168 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/1.404, allocations: 89 kB / 0.8777 GB, free: 167.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/1.404, allocations: 25.7 kB / 0.8777 GB, free: 167.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/1.404, allocations: 95.98 kB / 0.8778 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/1.404, allocations: 3.906 kB / 0.8778 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/1.404, allocations: 128 / 0.8778 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/1.404, allocations: 318.8 kB / 0.8781 GB, free: 167.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/1.404, allocations: 4 kB / 0.8781 GB, free: 167.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/1.404, allocations: 21.66 kB / 0.8781 GB, free: 167.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.149e-05/1.404, allocations: 4 kB / 0.8781 GB, free: 167.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.404, allocations: 3.984 kB / 0.8782 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.559e-05/1.404, allocations: 41.7 kB / 0.8782 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.404, allocations: 8.062 kB / 0.8782 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.404, allocations: 0 / 0.8782 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/1.404, allocations: 7.953 kB / 0.8782 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/1.404, allocations: 11.92 kB / 0.8782 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.404, allocations: 3.938 kB / 0.8782 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/1.404, allocations: 0 / 0.8782 GB, free: 167.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/1.404, allocations: 4 kB / 0.8782 GB, free: 167.4 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/1.404, allocations: 105.8 kB / 0.8783 GB, free: 167.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/1.405, allocations: 4 kB / 0.8783 GB, free: 167.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/1.405, allocations: 124.9 kB / 0.8784 GB, free: 167.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/1.405, allocations: 188.2 kB / 0.8786 GB, free: 166.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.152e-05/1.405, allocations: 176.3 kB / 0.8788 GB, free: 166.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-05/1.405, allocations: 180.2 kB / 0.879 GB, free: 166.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/1.405, allocations: 412.2 kB / 0.8794 GB, free: 166.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/1.405, allocations: 101 kB / 0.8795 GB, free: 166 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/1.405, allocations: 108.9 kB / 0.8796 GB, free: 165.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-05/1.405, allocations: 180.3 kB / 0.8797 GB, free: 165.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/1.405, allocations: 188.2 kB / 0.8799 GB, free: 165.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-05/1.405, allocations: 180.3 kB / 0.8801 GB, free: 165.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.115e-05/1.405, allocations: 184.2 kB / 0.8803 GB, free: 165.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/1.405, allocations: 311.8 kB / 0.8806 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/1.405, allocations: 182 kB / 0.8807 GB, free: 164.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/1.406, allocations: 180.2 kB / 0.8809 GB, free: 164.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/1.406, allocations: 109 kB / 0.881 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/1.406, allocations: 188.2 kB / 0.8812 GB, free: 164.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/1.406, allocations: 104.9 kB / 0.8813 GB, free: 164 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.811e-05/1.406, allocations: 87.27 kB / 0.8814 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/1.406, allocations: 0 / 0.8814 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003247/1.406, allocations: 39.94 kB / 0.8814 GB, free: 163.9 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 () * 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 (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.0004825/1.407, allocations: 0.8617 MB / 0.8822 GB, free: 163 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.053e-05/1.407, allocations: 12 kB / 0.8823 GB, free: 163 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.407, allocations: 0 / 0.8823 GB, free: 163 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/1.407, allocations: 3.938 kB / 0.8823 GB, free: 163 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/1.407, allocations: 0.5224 MB / 0.8828 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/1.407, allocations: 238 kB / 0.883 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/1.408, allocations: 0.677 MB / 0.8837 GB, free: 161.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.462e-05/1.408, allocations: 11.94 kB / 0.8837 GB, free: 161.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/1.408, allocations: 11.44 kB / 0.8837 GB, free: 161.5 MB / 0.5886 GB Notification: Performance of SimCode: time 4.4e-07/1.408, allocations: 0 / 0.8837 GB, free: 161.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/1.424, allocations: 1.878 MB / 0.8855 GB, free: 159.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/1.425, allocations: 230.3 kB / 0.8857 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/3.133, allocations: 0 / 0.8857 GB, free: 159.6 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)