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.001401/0.001401, allocations: 104.9 kB / 15.98 MB, free: 5.891 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.001341/0.001341, allocations: 188.4 kB / 16.91 MB, free: 5.746 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.341/1.341, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7487/0.7487, allocations: 132.2 MB / 422.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.72 kB / 0.5019 GB, free: 9.047 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1919, allocations: 80.2 MB / 0.5802 GB, free: 9.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02281/0.2148, allocations: 13.1 MB / 0.593 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003953/0.2188, allocations: 2.664 MB / 0.5956 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.219, allocations: 0 / 0.5956 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.2193, allocations: 39.8 kB / 0.5957 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.2198, allocations: 87.5 kB / 0.5957 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.2217, allocations: 476 kB / 0.5962 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.222, allocations: 224 kB / 0.5964 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.395e-05/0.2221, allocations: 21.47 kB / 0.5964 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/0.2352, allocations: 3.359 MB / 0.5997 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.2354, allocations: 99.64 kB / 0.5998 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.2355, allocations: 8 kB / 0.5998 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00364/0.2391, allocations: 1.045 MB / 0.6008 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.525e-05/0.2392, allocations: 35.89 kB / 0.6009 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.2394, allocations: 83.59 kB / 0.6009 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007093/0.2401, allocations: 251.5 kB / 0.6012 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2401, allocations: 0 / 0.6012 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2401, allocations: 0 / 0.6012 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2401, allocations: 0 / 0.6012 GB, free: 3.523 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.001208/0.2413, allocations: 0.4993 MB / 0.6017 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.2414, allocations: 8.031 kB / 0.6017 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.2417, allocations: 28.73 kB / 0.6017 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.242, allocations: 220 kB / 0.6019 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.2421, allocations: 8.703 kB / 0.6019 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.2421, allocations: 20.38 kB / 0.6019 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.2427, allocations: 252.8 kB / 0.6022 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.2427, allocations: 0 / 0.6022 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.2427, allocations: 8 kB / 0.6022 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/0.2428, allocations: 8 kB / 0.6022 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.2436, allocations: 427.5 kB / 0.6026 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.2455, allocations: 0.9605 MB / 0.6035 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.2459, allocations: 166.9 kB / 0.6037 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.2461, allocations: 61.7 kB / 0.6038 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3337/0.5798, allocations: 1.823 MB / 0.6055 GB, free: 56.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5798, allocations: 36.38 kB / 0.6056 GB, free: 56.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.5799, allocations: 0.5938 kB / 0.6056 GB, free: 56.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003896/0.5803, allocations: 148.3 kB / 0.6057 GB, free: 56.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.5803, allocations: 51.41 kB / 0.6058 GB, free: 56.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5804, allocations: 178.3 kB / 0.6059 GB, free: 56.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.5805, allocations: 32.3 kB / 0.606 GB, free: 56.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.5805, allocations: 145.3 kB / 0.6061 GB, free: 56.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.5806, allocations: 49.36 kB / 0.6062 GB, free: 56.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.5806, allocations: 55.67 kB / 0.6062 GB, free: 56.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.5807, allocations: 327.6 kB / 0.6065 GB, free: 56.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-05/0.5808, allocations: 34.98 kB / 0.6066 GB, free: 56.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.5809, allocations: 145.8 kB / 0.6067 GB, free: 56.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.581, allocations: 198.6 kB / 0.6069 GB, free: 56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5811, allocations: 0 / 0.6069 GB, free: 56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002656/0.5813, allocations: 220 kB / 0.6071 GB, free: 55.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5814, allocations: 12.12 kB / 0.6071 GB, free: 55.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5814, allocations: 2.875 kB / 0.6071 GB, free: 55.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5814, allocations: 10.22 kB / 0.6071 GB, free: 55.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.5816, allocations: 54.12 kB / 0.6072 GB, free: 55.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.5816, allocations: 7.094 kB / 0.6072 GB, free: 55.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.5817, allocations: 33.2 kB / 0.6072 GB, free: 55.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.5817, allocations: 14.97 kB / 0.6072 GB, free: 55.94 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 8.881e-05/0.5818, allocations: 131.2 kB / 0.6073 GB, free: 55.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.5819, allocations: 17.59 kB / 0.6074 GB, free: 55.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.5822, allocations: 162 kB / 0.6075 GB, free: 55.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.5822, allocations: 2.531 kB / 0.6075 GB, free: 55.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5822, allocations: 3.375 kB / 0.6075 GB, free: 55.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.5822, allocations: 1.094 kB / 0.6075 GB, free: 55.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.5824, allocations: 218.9 kB / 0.6077 GB, free: 55.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5824, allocations: 1.406 kB / 0.6077 GB, free: 55.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.967e-05/0.5825, allocations: 22.45 kB / 0.6078 GB, free: 55.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5825, allocations: 3.938 kB / 0.6078 GB, free: 55.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.5825, allocations: 6.188 kB / 0.6078 GB, free: 55.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5825, allocations: 0 / 0.6078 GB, free: 55.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5825, allocations: 2.688 kB / 0.6078 GB, free: 55.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.5827, allocations: 220.2 kB / 0.608 GB, free: 55.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/0.5828, allocations: 115.6 kB / 0.6081 GB, free: 55.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.5828, allocations: 4.484 kB / 0.6081 GB, free: 55.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.583, allocations: 15.06 kB / 0.6081 GB, free: 55.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.5831, allocations: 9.047 kB / 0.6081 GB, free: 55.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.5831, allocations: 12.64 kB / 0.6081 GB, free: 55.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.45e-05/0.5832, allocations: 125.1 kB / 0.6082 GB, free: 55.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5832, allocations: 2.844 kB / 0.6082 GB, free: 55.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003863/0.5836, allocations: 75.88 kB / 0.6083 GB, free: 55.26 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.0003774/0.5839, allocations: 191.7 kB / 0.6085 GB, free: 55.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.5842, allocations: 123.1 kB / 0.6086 GB, free: 55.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5842, allocations: 2.781 kB / 0.6086 GB, free: 55.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.913e-05/0.5843, allocations: 45.91 kB / 0.6087 GB, free: 55.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.5847, allocations: 58.59 kB / 0.6087 GB, free: 55.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/0.5854, allocations: 421.6 kB / 0.6091 GB, free: 54.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.5855, allocations: 0.7198 MB / 0.6098 GB, free: 54.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.5856, allocations: 24.53 kB / 0.6099 GB, free: 54.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.5856, allocations: 5.594 kB / 0.6099 GB, free: 54.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.004757/0.5903, allocations: 3.407 MB / 0.6132 GB, free: 53.85 MB / 0.4981 GB 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)