Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000813/0.0008131, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006274/0.006275, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004366, allocations: 9.375 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1934, allocations: 82.31 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01604/0.2095, allocations: 13.34 MB / 0.601 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002743/0.2123, allocations: 2.66 MB / 0.6036 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.2124, allocations: 0 / 0.6036 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.2127, allocations: 35.81 kB / 0.6036 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.2129, allocations: 95.47 kB / 0.6037 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.2141, allocations: 464.8 kB / 0.6042 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.2144, allocations: 299.9 kB / 0.6045 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.403e-05/0.2144, allocations: 17.5 kB / 0.6045 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4007/0.6151, allocations: 3.155 MB / 0.6076 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.6154, allocations: 91.38 kB / 0.6076 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.6154, allocations: 9.094 kB / 0.6076 GB, free: 35.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.618, allocations: 0.9622 MB / 0.6086 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.6181, allocations: 41.53 kB / 0.6086 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.6182, allocations: 107.9 kB / 0.6087 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006758/0.6189, allocations: 365.6 kB / 0.6091 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6189, allocations: 2.781 kB / 0.6091 GB, free: 35.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.215e-06/0.6189, allocations: 4 kB / 0.6091 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6189, allocations: 0 / 0.6091 GB, free: 35.75 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006658/0.6196, allocations: 472.5 kB / 0.6095 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6196, allocations: 11.41 kB / 0.6095 GB, free: 35.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.6198, allocations: 23.55 kB / 0.6096 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.62, allocations: 212.5 kB / 0.6098 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.62, allocations: 16.33 kB / 0.6098 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.62, allocations: 15.28 kB / 0.6098 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.6204, allocations: 247.5 kB / 0.61 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6204, allocations: 0 / 0.61 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.6204, allocations: 6.594 kB / 0.61 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.6204, allocations: 10 kB / 0.6101 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.6209, allocations: 424.8 kB / 0.6105 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009867/0.6219, allocations: 0.9649 MB / 0.6114 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.6221, allocations: 164.2 kB / 0.6116 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/0.6222, allocations: 64.36 kB / 0.6116 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009448/0.6232, allocations: 1.832 MB / 0.6134 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6232, allocations: 34.53 kB / 0.6134 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.6232, allocations: 4 kB / 0.6134 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003023/0.6236, allocations: 148.5 kB / 0.6136 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.6236, allocations: 59.56 kB / 0.6136 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.6237, allocations: 169.2 kB / 0.6138 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.6238, allocations: 32.2 kB / 0.6138 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.6238, allocations: 138.5 kB / 0.614 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.6239, allocations: 58.39 kB / 0.614 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.6239, allocations: 24.5 kB / 0.614 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.624, allocations: 330.7 kB / 0.6144 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.6241, allocations: 39.11 kB / 0.6144 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.6242, allocations: 136.8 kB / 0.6145 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.6244, allocations: 207.2 kB / 0.6147 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6244, allocations: 3.469 kB / 0.6147 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00034/0.6247, allocations: 204.3 kB / 0.6149 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.6248, allocations: 9.109 kB / 0.6149 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.6248, allocations: 6.125 kB / 0.6149 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6248, allocations: 6.844 kB / 0.6149 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.625, allocations: 52.36 kB / 0.615 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.625, allocations: 11.59 kB / 0.615 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.6251, allocations: 32.95 kB / 0.615 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.6251, allocations: 18.09 kB / 0.6151 GB, free: 31.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.6252, allocations: 129.2 kB / 0.6152 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.6253, allocations: 19.66 kB / 0.6152 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.6256, allocations: 163.9 kB / 0.6154 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.6256, allocations: 3.422 kB / 0.6154 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6256, allocations: 6.938 kB / 0.6154 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6256, allocations: 0 / 0.6154 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.6258, allocations: 207 kB / 0.6156 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6258, allocations: 0 / 0.6156 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.6259, allocations: 27.92 kB / 0.6156 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6259, allocations: 3.094 kB / 0.6156 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.626, allocations: 5.609 kB / 0.6156 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.626, allocations: 3.25 kB / 0.6156 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.626, allocations: 3.938 kB / 0.6156 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.6262, allocations: 220 kB / 0.6158 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.6263, allocations: 118.3 kB / 0.6159 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.6263, allocations: 2.125 kB / 0.6159 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.6265, allocations: 19.23 kB / 0.6159 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.6266, allocations: 15.42 kB / 0.616 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.6266, allocations: 14.59 kB / 0.616 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.453e-05/0.6267, allocations: 122.8 kB / 0.6161 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6267, allocations: 0 / 0.6161 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000382/0.6271, allocations: 76.34 kB / 0.6162 GB, free: 30.53 MB / 0.4981 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 (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000362/0.6274, allocations: 190.1 kB / 0.6163 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.6277, allocations: 115.2 kB / 0.6165 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6277, allocations: 0 / 0.6165 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.6278, allocations: 46.98 kB / 0.6165 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.6283, allocations: 53.47 kB / 0.6166 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.6289, allocations: 434.4 kB / 0.617 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.6291, allocations: 0.7127 MB / 0.6177 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.6293, allocations: 58.62 kB / 0.6177 GB, free: 29.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.6293, allocations: 21.78 kB / 0.6177 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.6293, allocations: 1.531 kB / 0.6177 GB, free: 29.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.006597/0.6359, allocations: 3.508 MB / 0.6212 GB, free: 29.17 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)