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: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, 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.9689/0.9689, 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.642/1.642, allocations: 221.5 MB / 395.5 MB, free: 10.74 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.001121/0.001121, allocations: 95.88 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.985e-05, allocations: 0 / 0.5534 GB, free: 9.062 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5239, allocations: 82.31 MB / 0.6338 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8701/1.394, allocations: 350.5 MB / 0.9761 GB, free: 2.191 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.394, allocations: 64.53 kB / 0.9761 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.03165/1.426, allocations: 13.2 MB / 0.989 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.878e-06/1.426, allocations: 0 / 0.989 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.092e-05/1.426, allocations: 7.938 kB / 0.989 GB, free: 7.848 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.0003876/1.426, allocations: 330.4 kB / 0.9894 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.427, allocations: 12.03 kB / 0.9894 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/1.427, allocations: 0 / 0.9894 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/1.427, allocations: 174.9 kB / 0.9895 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-05/1.427, allocations: 29.7 kB / 0.9896 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/1.427, allocations: 0 / 0.9896 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.363e-05/1.427, allocations: 8 kB / 0.9896 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.009e-05/1.427, allocations: 41.62 kB / 0.9896 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.427, allocations: 3.938 kB / 0.9896 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/1.427, allocations: 4 kB / 0.9896 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/1.427, allocations: 3.984 kB / 0.9896 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/1.428, allocations: 314.1 kB / 0.9899 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/1.428, allocations: 14.58 kB / 0.9899 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/1.428, allocations: 4.859 kB / 0.9899 GB, free: 6.777 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/1.428, allocations: 89.16 kB / 0.99 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.428, allocations: 42.55 kB / 0.9901 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/1.428, allocations: 0 / 0.9901 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002217/1.428, allocations: 37.58 kB / 0.9901 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/1.428, allocations: 51.41 kB / 0.9902 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/1.428, allocations: 96.98 kB / 0.9902 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/1.428, allocations: 25.7 kB / 0.9903 GB, free: 6.387 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/1.428, allocations: 87.8 kB / 0.9904 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/1.428, allocations: 0 / 0.9904 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/1.428, allocations: 4.031 kB / 0.9904 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.429, allocations: 318.8 kB / 0.9907 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/1.429, allocations: 0 / 0.9907 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/1.429, allocations: 21.33 kB / 0.9907 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.478e-05/1.429, allocations: 4 kB / 0.9907 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.429, allocations: 0 / 0.9907 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001382/1.429, allocations: 57.56 kB / 0.9907 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.429, allocations: 4 kB / 0.9907 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.429, allocations: 0 / 0.9907 GB, free: 5.883 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.429, allocations: 4 kB / 0.9907 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/1.429, allocations: 11.92 kB / 0.9908 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/1.429, allocations: 0 / 0.9908 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/1.429, allocations: 0 / 0.9908 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/1.429, allocations: 4 kB / 0.9908 GB, free: 5.867 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 8.447e-05/1.429, allocations: 104.9 kB / 0.9909 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/1.429, allocations: 3.938 kB / 0.9909 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/1.429, allocations: 125.5 kB / 0.991 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.854e-05/1.429, allocations: 180.2 kB / 0.9912 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001045/1.43, allocations: 180.3 kB / 0.9913 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-05/1.43, allocations: 183.9 kB / 0.9915 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/1.43, allocations: 389.7 kB / 0.9919 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-05/1.43, allocations: 101 kB / 0.992 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/1.43, allocations: 104.9 kB / 0.9921 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-05/1.43, allocations: 176.3 kB / 0.9922 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.767e-05/1.43, allocations: 184.2 kB / 0.9924 GB, free: 4.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.919e-05/1.43, allocations: 183.3 kB / 0.9926 GB, free: 3.883 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001053/1.43, allocations: 180.3 kB / 0.9928 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/1.431, allocations: 311.1 kB / 0.9931 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/1.431, allocations: 186 kB / 0.9932 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/1.431, allocations: 180.3 kB / 0.9934 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/1.431, allocations: 116.9 kB / 0.9935 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/1.431, allocations: 176.3 kB / 0.9937 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/1.431, allocations: 101 kB / 0.9938 GB, free: 2.578 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.524e-05/1.431, allocations: 82.72 kB / 0.9939 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/1.431, allocations: 0 / 0.9939 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003306/1.432, allocations: 19.92 kB / 0.9939 GB, free: 2.48 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.0003411/1.432, allocations: 219 kB / 0.9941 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.592e-05/1.432, allocations: 4 kB / 0.9941 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.432, allocations: 0 / 0.9941 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/1.432, allocations: 4 kB / 0.9941 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/1.433, allocations: 0.522 MB / 0.9946 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/1.433, allocations: 135.2 kB / 0.9947 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.433, allocations: 0.6768 MB / 0.9954 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.17e-05/1.433, allocations: 19.81 kB / 0.9954 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/1.433, allocations: 7.438 kB / 0.9954 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/1.433, allocations: 0 / 0.9954 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of Templates: time 0.00324/1.436, allocations: 0.6983 MB / 0.9961 GB, free: 160 kB / 0.6198 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)