Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.001123/0.001123, allocations: 180.9 kB / 7.651 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.811/0.811, allocations: 133.6 MB / 141.6 MB, free: 2.891 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.544/1.544, allocations: 221.5 MB / 395.4 MB, free: 10.76 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.0008876/0.0008876, allocations: 93.83 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.247e-05, allocations: 7.984 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5004, allocations: 82.3 MB / 0.6339 GB, free: 40.68 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8467/1.347, allocations: 350.5 MB / 0.9762 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/1.348, allocations: 74.77 kB / 0.9762 GB, free: 1.934 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02879/1.376, allocations: 13.2 MB / 0.9891 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/1.376, allocations: 4 kB / 0.9891 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.645e-06/1.376, allocations: 0 / 0.9891 GB, free: 7.629 MB / 0.6198 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.0004054/1.377, allocations: 338 kB / 0.9895 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.377, allocations: 15.97 kB / 0.9895 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/1.377, allocations: 3.906 kB / 0.9895 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/1.377, allocations: 163 kB / 0.9896 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/1.377, allocations: 33.64 kB / 0.9897 GB, free: 7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/1.377, allocations: 3.984 kB / 0.9897 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.234e-05/1.377, allocations: 15.98 kB / 0.9897 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.565e-05/1.377, allocations: 41.06 kB / 0.9897 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/1.377, allocations: 0 / 0.9897 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.377, allocations: 0 / 0.9897 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/1.377, allocations: 3.938 kB / 0.9897 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/1.378, allocations: 322 kB / 0.99 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.567e-05/1.378, allocations: 14.58 kB / 0.99 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/1.378, allocations: 8.859 kB / 0.99 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.205e-05/1.378, allocations: 85.17 kB / 0.9901 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/1.378, allocations: 34.55 kB / 0.9902 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/1.378, allocations: 0 / 0.9902 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001943/1.378, allocations: 32.89 kB / 0.9902 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/1.378, allocations: 55.34 kB / 0.9902 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/1.378, allocations: 96.44 kB / 0.9903 GB, free: 6.191 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/1.378, allocations: 29.73 kB / 0.9904 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/1.379, allocations: 88.03 kB / 0.9905 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/1.379, allocations: 0 / 0.9905 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/1.379, allocations: 0 / 0.9905 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.379, allocations: 322.3 kB / 0.9908 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/1.379, allocations: 0 / 0.9908 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/1.379, allocations: 13.72 kB / 0.9908 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.885e-05/1.379, allocations: 11.98 kB / 0.9908 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.379, allocations: 4 kB / 0.9908 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000115/1.379, allocations: 53.03 kB / 0.9908 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.379, allocations: 4 kB / 0.9908 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.379, allocations: 0 / 0.9908 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.379, allocations: 4 kB / 0.9908 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/1.379, allocations: 4 kB / 0.9909 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/1.379, allocations: 0 / 0.9909 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/1.379, allocations: 0 / 0.9909 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/1.379, allocations: 4.062 kB / 0.9909 GB, free: 5.641 MB / 0.6198 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 7.96e-05/1.379, allocations: 112.9 kB / 0.991 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.549e-05/1.379, allocations: 33.7 kB / 0.991 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/1.379, allocations: 0 / 0.991 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/1.379, allocations: 133 kB / 0.9911 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.529e-05/1.38, allocations: 176.3 kB / 0.9913 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.097e-05/1.38, allocations: 184.2 kB / 0.9915 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.005e-05/1.38, allocations: 184.2 kB / 0.9916 GB, free: 4.797 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/1.38, allocations: 381.3 kB / 0.992 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.724e-05/1.38, allocations: 108.9 kB / 0.9921 GB, free: 4.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/1.38, allocations: 105 kB / 0.9922 GB, free: 4.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.279e-05/1.38, allocations: 180.3 kB / 0.9924 GB, free: 3.977 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/1.38, allocations: 184.2 kB / 0.9926 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.077e-05/1.38, allocations: 180.3 kB / 0.9927 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.457e-05/1.38, allocations: 176.3 kB / 0.9929 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/1.381, allocations: 319.4 kB / 0.9932 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/1.381, allocations: 182.1 kB / 0.9934 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.757e-05/1.381, allocations: 188.1 kB / 0.9936 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/1.381, allocations: 105 kB / 0.9937 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/1.381, allocations: 180.3 kB / 0.9938 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/1.381, allocations: 105.2 kB / 0.9939 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.293e-05/1.381, allocations: 83.27 kB / 0.994 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/1.381, allocations: 4 kB / 0.994 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002457/1.381, allocations: 19.31 kB / 0.994 GB, free: 2.199 MB / 0.6198 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.0005092/1.382, allocations: 0.8402 MB / 0.9948 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.304e-05/1.382, allocations: 7.938 kB / 0.9949 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.382, allocations: 0 / 0.9949 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/1.382, allocations: 0 / 0.9949 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/1.382, allocations: 0.5281 MB / 0.9954 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/1.383, allocations: 160.9 kB / 0.9955 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/1.383, allocations: 0.6806 MB / 0.9962 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.866e-05/1.383, allocations: 11.88 kB / 0.9962 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/1.383, allocations: 11.44 kB / 0.9962 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/1.383, allocations: 0 / 0.9962 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/1.404, allocations: 1.122 MB / 0.9973 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/1.404, allocations: 147.8 kB / 0.9974 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/3.058, allocations: 0 / 0.9974 GB, free: 14.56 MB / 0.6355 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)