Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_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.001219/0.001219, allocations: 172.5 kB / 7.646 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.8173/0.8173, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.64/1.64, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0009127/0.0009124, allocations: 101.8 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.691e-05, allocations: 0 / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.4988, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8816/1.38, allocations: 350.5 MB / 0.9762 GB, free: 1.965 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.381, allocations: 76.14 kB / 0.9762 GB, free: 1.926 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02983/1.411, allocations: 13.2 MB / 0.9891 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/1.411, allocations: 0 / 0.9891 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.758e-06/1.411, allocations: 0 / 0.9891 GB, free: 7.621 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.0004467/1.411, allocations: 345.8 kB / 0.9895 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/1.411, allocations: 8.031 kB / 0.9895 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/1.411, allocations: 7.906 kB / 0.9895 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/1.411, allocations: 163 kB / 0.9896 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/1.412, allocations: 33.62 kB / 0.9897 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/1.412, allocations: 4 kB / 0.9897 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.626e-05/1.412, allocations: 8 kB / 0.9897 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/1.412, allocations: 37.5 kB / 0.9897 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/1.412, allocations: 4 kB / 0.9897 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/1.412, allocations: 4 kB / 0.9897 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/1.412, allocations: 0 / 0.9897 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/1.412, allocations: 321.9 kB / 0.99 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/1.413, allocations: 18.58 kB / 0.99 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/1.413, allocations: 4.859 kB / 0.99 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/1.413, allocations: 85.17 kB / 0.9901 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/1.413, allocations: 38.55 kB / 0.9902 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.723e-06/1.413, allocations: 0 / 0.9902 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002995/1.413, allocations: 33.39 kB / 0.9902 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/1.413, allocations: 51.41 kB / 0.9902 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/1.413, allocations: 96.92 kB / 0.9903 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/1.413, allocations: 29.7 kB / 0.9904 GB, free: 6.148 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/1.414, allocations: 91.64 kB / 0.9905 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/1.414, allocations: 0 / 0.9905 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/1.414, allocations: 0 / 0.9905 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001987/1.414, allocations: 314.8 kB / 0.9908 GB, free: 5.742 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/1.414, allocations: 7.188 kB / 0.9908 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/1.414, allocations: 13.72 kB / 0.9908 GB, free: 5.719 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/1.414, allocations: 7.984 kB / 0.9908 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.414, allocations: 0 / 0.9908 GB, free: 5.711 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001409/1.414, allocations: 61.41 kB / 0.9908 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.414, allocations: 5.875 kB / 0.9908 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.414, allocations: 0 / 0.9908 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.414, allocations: 0 / 0.9908 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/1.414, allocations: 8 kB / 0.9909 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/1.414, allocations: 0 / 0.9909 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/1.414, allocations: 0 / 0.9909 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/1.414, allocations: 7.984 kB / 0.9909 GB, free: 5.629 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 0.0001079/1.414, allocations: 109 kB / 0.991 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001029/1.415, allocations: 37.7 kB / 0.991 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/1.415, allocations: 0 / 0.991 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/1.415, allocations: 132.8 kB / 0.9911 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.994e-05/1.415, allocations: 176.3 kB / 0.9913 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.703e-05/1.415, allocations: 176.3 kB / 0.9915 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.861e-05/1.415, allocations: 188.2 kB / 0.9916 GB, free: 4.789 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/1.415, allocations: 385.5 kB / 0.992 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.742e-05/1.415, allocations: 101 kB / 0.9921 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/1.415, allocations: 112.9 kB / 0.9922 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.628e-05/1.416, allocations: 176.3 kB / 0.9924 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.8e-05/1.416, allocations: 176.3 kB / 0.9925 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.533e-05/1.416, allocations: 184.2 kB / 0.9927 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.798e-05/1.416, allocations: 176.3 kB / 0.9929 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/1.416, allocations: 323.4 kB / 0.9932 GB, free: 3.086 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/1.416, allocations: 178.1 kB / 0.9934 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.416, allocations: 188.2 kB / 0.9936 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/1.416, allocations: 105 kB / 0.9937 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/1.416, allocations: 179.8 kB / 0.9938 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/1.417, allocations: 108.9 kB / 0.9939 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.798e-05/1.417, allocations: 83.27 kB / 0.994 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/1.417, allocations: 0 / 0.994 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003235/1.417, allocations: 15.94 kB / 0.994 GB, free: 2.195 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.0006141/1.418, allocations: 0.8442 MB / 0.9948 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.923e-05/1.418, allocations: 8 kB / 0.9949 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.418, allocations: 3.938 kB / 0.9949 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/1.418, allocations: 0 / 0.9949 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/1.418, allocations: 0.526 MB / 0.9954 GB, free: 0.793 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/1.418, allocations: 156.9 kB / 0.9955 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/1.419, allocations: 0.6809 MB / 0.9962 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.148e-05/1.419, allocations: 11.88 kB / 0.9962 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/1.419, allocations: 11.44 kB / 0.9962 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/1.419, allocations: 0 / 0.9962 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/1.441, allocations: 1.132 MB / 0.9973 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/1.441, allocations: 132.3 kB / 0.9974 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.997, allocations: 0 / 0.9974 GB, free: 14.56 MB / 0.6355 GB (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)