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.001142/0.001143, allocations: 105.6 kB / 16.37 MB, free: 6.477 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.001045/0.001046, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7855/0.7855, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.91 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4056, allocations: 80.91 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01182/0.4174, allocations: 12.97 MB / 0.5984 GB, free: 13.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.4194, allocations: 2.657 MB / 0.601 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.4195, allocations: 4 kB / 0.601 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.4197, allocations: 55.5 kB / 0.6011 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002366/0.42, allocations: 91.36 kB / 0.6012 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009545/0.421, allocations: 0.5087 MB / 0.6017 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.4212, allocations: 235.5 kB / 0.6019 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.4212, allocations: 19.31 kB / 0.6019 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006939/0.4282, allocations: 3.576 MB / 0.6054 GB, free: 6.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.4284, allocations: 99.58 kB / 0.6055 GB, free: 6.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.4284, allocations: 8 kB / 0.6055 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.4305, allocations: 1.063 MB / 0.6065 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.4306, allocations: 39.83 kB / 0.6066 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.4307, allocations: 79.66 kB / 0.6067 GB, free: 5.148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005451/0.4312, allocations: 371 kB / 0.607 GB, free: 4.785 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4312, allocations: 0 / 0.607 GB, free: 4.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4312, allocations: 0 / 0.607 GB, free: 4.785 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.4313, allocations: 0 / 0.607 GB, free: 4.785 MB / 446.1 MB 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.0005691/0.4318, allocations: 0.4954 MB / 0.6075 GB, free: 4.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4319, allocations: 9.109 kB / 0.6075 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.432, allocations: 24.75 kB / 0.6075 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.4322, allocations: 220 kB / 0.6077 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.4322, allocations: 12.7 kB / 0.6077 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.4323, allocations: 16.31 kB / 0.6078 GB, free: 3.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.4325, allocations: 256.2 kB / 0.608 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4326, allocations: 0 / 0.608 GB, free: 3.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.4326, allocations: 4 kB / 0.608 GB, free: 3.656 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.4326, allocations: 8 kB / 0.608 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.433, allocations: 427.3 kB / 0.6084 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.4338, allocations: 0.9644 MB / 0.6094 GB, free: 2.176 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.434, allocations: 168.5 kB / 0.6095 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.4341, allocations: 68.81 kB / 0.6096 GB, free: 1.934 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000876/0.435, allocations: 1.829 MB / 0.6114 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.435, allocations: 38.56 kB / 0.6114 GB, free: 15.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.435, allocations: 0 / 0.6114 GB, free: 15.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003079/0.4353, allocations: 141.4 kB / 0.6116 GB, free: 15.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.4354, allocations: 59.34 kB / 0.6116 GB, free: 15.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.4355, allocations: 173.5 kB / 0.6118 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4355, allocations: 37.7 kB / 0.6118 GB, free: 15.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.4356, allocations: 139.8 kB / 0.6119 GB, free: 15.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.4357, allocations: 51.3 kB / 0.612 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.4357, allocations: 49.61 kB / 0.612 GB, free: 15.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.4358, allocations: 326.8 kB / 0.6124 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.4359, allocations: 39.92 kB / 0.6124 GB, free: 14.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.436, allocations: 137.6 kB / 0.6125 GB, free: 14.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.4362, allocations: 195.9 kB / 0.6127 GB, free: 14.22 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4363, allocations: 0 / 0.6127 GB, free: 14.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000299/0.4366, allocations: 221.1 kB / 0.6129 GB, free: 14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4366, allocations: 11.94 kB / 0.6129 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4366, allocations: 4 kB / 0.6129 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4366, allocations: 4 kB / 0.6129 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.4368, allocations: 55.86 kB / 0.613 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4368, allocations: 4 kB / 0.613 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.4369, allocations: 28.17 kB / 0.613 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.4369, allocations: 23.98 kB / 0.613 GB, free: 13.87 MB / 462.1 MB 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.248e-05/0.437, allocations: 129.7 kB / 0.6132 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.4371, allocations: 19.91 kB / 0.6132 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.4374, allocations: 154.4 kB / 0.6133 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.4374, allocations: 7.938 kB / 0.6133 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4374, allocations: 0 / 0.6133 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4374, allocations: 3.984 kB / 0.6133 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.4376, allocations: 213.5 kB / 0.6136 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4376, allocations: 0 / 0.6136 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.394e-05/0.4377, allocations: 27.98 kB / 0.6136 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4377, allocations: 0 / 0.6136 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4378, allocations: 7.938 kB / 0.6136 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.4378, allocations: 7.938 kB / 0.6136 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4378, allocations: 0 / 0.6136 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.438, allocations: 222.2 kB / 0.6138 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.4381, allocations: 108.8 kB / 0.6139 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.4381, allocations: 11.98 kB / 0.6139 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.4383, allocations: 15.94 kB / 0.6139 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.4383, allocations: 11.98 kB / 0.6139 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.4384, allocations: 11.98 kB / 0.614 GB, free: 12.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.509e-05/0.4385, allocations: 120.9 kB / 0.6141 GB, free: 12.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4385, allocations: 3.938 kB / 0.6141 GB, free: 12.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003666/0.4388, allocations: 79.98 kB / 0.6142 GB, free: 12.64 MB / 462.1 MB 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.0002955/0.4391, allocations: 188.5 kB / 0.6143 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.4394, allocations: 108.5 kB / 0.6144 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4394, allocations: 4.25 kB / 0.6144 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.198e-05/0.4395, allocations: 47.92 kB / 0.6145 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.4399, allocations: 59.55 kB / 0.6145 GB, free: 12.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.4405, allocations: 346.9 kB / 0.6149 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.4408, allocations: 0.7166 MB / 0.6156 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.4409, allocations: 48.81 kB / 0.6156 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.441, allocations: 27.44 kB / 0.6156 GB, free: 11.07 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.441, allocations: 4 kB / 0.6157 GB, free: 11.06 MB / 462.1 MB Notification: Performance of Templates: time 0.006692/0.4477, allocations: 3.62 MB / 0.6192 GB, free: 7.496 MB / 462.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)