Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001564/0.001564, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002069/0.00207, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7576/0.7576, allocations: 132.2 MB / 422.2 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.84 kB / 0.5011 GB, free: 4.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5091/0.5103, allocations: 80.21 MB / 0.5794 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01911/0.5295, allocations: 13.86 MB / 0.593 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003477/0.533, allocations: 2.698 MB / 0.5956 GB, free: 9.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.5331, allocations: 1.281 kB / 0.5956 GB, free: 9.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.5334, allocations: 36.78 kB / 0.5956 GB, free: 9.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.5338, allocations: 89.61 kB / 0.5957 GB, free: 9.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.5351, allocations: 472 kB / 0.5962 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.5355, allocations: 300.4 kB / 0.5965 GB, free: 8.809 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.5355, allocations: 10.36 kB / 0.5965 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.5458, allocations: 3.159 MB / 0.5995 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.546, allocations: 86.84 kB / 0.5996 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.546, allocations: 7.438 kB / 0.5996 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.5489, allocations: 0.9824 MB / 0.6006 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.549, allocations: 34.11 kB / 0.6006 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.5491, allocations: 84.47 kB / 0.6007 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007476/0.5498, allocations: 363.3 kB / 0.6011 GB, free: 6.047 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5498, allocations: 4 kB / 0.6011 GB, free: 6.043 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.5498, allocations: 1.5 kB / 0.6011 GB, free: 6.043 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.5499, allocations: 0 / 0.6011 GB, free: 6.043 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.0007457/0.5506, allocations: 0.4939 MB / 0.6015 GB, free: 5.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.5507, allocations: 9 kB / 0.6016 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.5508, allocations: 25.89 kB / 0.6016 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.5511, allocations: 217.6 kB / 0.6018 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.5511, allocations: 15.05 kB / 0.6018 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.5511, allocations: 17.84 kB / 0.6018 GB, free: 5.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.5515, allocations: 255 kB / 0.6021 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5515, allocations: 3.984 kB / 0.6021 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.5516, allocations: 11.38 kB / 0.6021 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.5516, allocations: 5.438 kB / 0.6021 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.5521, allocations: 428.3 kB / 0.6025 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.5532, allocations: 0.961 MB / 0.6034 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.5535, allocations: 175.5 kB / 0.6036 GB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.5536, allocations: 63.25 kB / 0.6037 GB, free: 3.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0013/0.5549, allocations: 1.827 MB / 0.6054 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.555, allocations: 32.75 kB / 0.6055 GB, free: 1.727 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.555, allocations: 4 kB / 0.6055 GB, free: 1.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003465/0.5553, allocations: 155.4 kB / 0.6056 GB, free: 1.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.5554, allocations: 61.02 kB / 0.6057 GB, free: 1.566 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.5555, allocations: 168.7 kB / 0.6058 GB, free: 1.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.5555, allocations: 26.86 kB / 0.6059 GB, free: 1.398 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.5556, allocations: 143.2 kB / 0.606 GB, free: 1.262 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.5557, allocations: 50.92 kB / 0.606 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.5557, allocations: 56.42 kB / 0.6061 GB, free: 1.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5558, allocations: 326.9 kB / 0.6064 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.5559, allocations: 41.62 kB / 0.6065 GB, free: 0.832 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.5561, allocations: 146.5 kB / 0.6066 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.5563, allocations: 191 kB / 0.6068 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5563, allocations: 1.156 kB / 0.6068 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003432/0.5567, allocations: 216.8 kB / 0.607 GB, free: 384 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.5567, allocations: 6.375 kB / 0.607 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5567, allocations: 11.5 kB / 0.607 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5567, allocations: 5.031 kB / 0.607 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.5569, allocations: 53.27 kB / 0.6071 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5569, allocations: 5.312 kB / 0.6071 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.557, allocations: 36.84 kB / 0.6071 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.5571, allocations: 14.56 kB / 0.6071 GB, free: 332 kB / 446.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 0.0001044/0.5572, allocations: 126.6 kB / 0.6072 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.5572, allocations: 12.66 kB / 0.6072 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.5576, allocations: 166.2 kB / 0.6074 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.5576, allocations: 10.23 kB / 0.6074 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5576, allocations: 0 / 0.6074 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5576, allocations: 0 / 0.6074 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.5578, allocations: 209.8 kB / 0.6076 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5579, allocations: 1.531 kB / 0.6076 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.5579, allocations: 26.08 kB / 0.6076 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.558, allocations: 1 kB / 0.6076 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.558, allocations: 2.25 kB / 0.6076 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.507e-06/0.558, allocations: 12.98 kB / 0.6077 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.558, allocations: 4 kB / 0.6077 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.5582, allocations: 224.3 kB / 0.6079 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.5583, allocations: 113.9 kB / 0.608 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.5584, allocations: 1.969 kB / 0.608 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.5586, allocations: 20.8 kB / 0.608 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.5586, allocations: 8.359 kB / 0.608 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.5586, allocations: 15.88 kB / 0.608 GB, free: 15.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.5587, allocations: 120.5 kB / 0.6081 GB, free: 15.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5587, allocations: 3.938 kB / 0.6081 GB, free: 15.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004128/0.5591, allocations: 76.95 kB / 0.6082 GB, free: 15.39 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.0003981/0.5596, allocations: 183.7 kB / 0.6084 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.5598, allocations: 119.6 kB / 0.6085 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5598, allocations: 1.438 kB / 0.6085 GB, free: 15.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.841e-05/0.5599, allocations: 46.36 kB / 0.6086 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.5604, allocations: 60.34 kB / 0.6086 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.561, allocations: 385 kB / 0.609 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.5613, allocations: 0.7197 MB / 0.6097 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.5615, allocations: 44.62 kB / 0.6097 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.5615, allocations: 24.92 kB / 0.6097 GB, free: 14.16 MB / 462.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5615, allocations: 0 / 0.6097 GB, free: 14.16 MB / 462.1 MB Notification: Performance of Templates: time 0.007105/0.5686, allocations: 3.519 MB / 0.6132 GB, free: 12.38 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)