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.001317/0.001317, allocations: 106.2 kB / 16.27 MB, free: 6.414 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.001205/0.001205, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.431/1.431, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8509/0.8509, allocations: 135.2 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.89 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3945, allocations: 80.91 MB / 0.585 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01181/0.4064, allocations: 12.97 MB / 0.5977 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.4084, allocations: 2.673 MB / 0.6003 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.839e-05/0.4085, allocations: 4 kB / 0.6003 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.4088, allocations: 49.73 kB / 0.6004 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.409, allocations: 95.36 kB / 0.6005 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00096/0.41, allocations: 0.4981 MB / 0.6009 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.4101, allocations: 228 kB / 0.6012 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.4102, allocations: 16.02 kB / 0.6012 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007025/0.4172, allocations: 3.581 MB / 0.6047 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.4174, allocations: 95.67 kB / 0.6048 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.4174, allocations: 8 kB / 0.6048 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.4195, allocations: 1.07 MB / 0.6058 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.4196, allocations: 31.89 kB / 0.6059 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.514e-05/0.4197, allocations: 87.58 kB / 0.6059 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000565/0.4202, allocations: 363.1 kB / 0.6063 GB, free: 4.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4203, allocations: 0 / 0.6063 GB, free: 4.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4203, allocations: 0 / 0.6063 GB, free: 4.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4203, allocations: 0 / 0.6063 GB, free: 4.824 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.0005752/0.4209, allocations: 0.4993 MB / 0.6068 GB, free: 4.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.4209, allocations: 13.11 kB / 0.6068 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.4211, allocations: 28.73 kB / 0.6068 GB, free: 4.238 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.4212, allocations: 220 kB / 0.607 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4212, allocations: 12.7 kB / 0.607 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.4213, allocations: 12.38 kB / 0.607 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.4216, allocations: 256.2 kB / 0.6073 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4216, allocations: 0 / 0.6073 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.4216, allocations: 8 kB / 0.6073 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.4216, allocations: 4 kB / 0.6073 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.422, allocations: 435.3 kB / 0.6077 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.4229, allocations: 0.9606 MB / 0.6087 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.4231, allocations: 170.9 kB / 0.6088 GB, free: 2.031 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.4232, allocations: 64.88 kB / 0.6089 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009307/0.4241, allocations: 1.833 MB / 0.6107 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.4242, allocations: 38.56 kB / 0.6107 GB, free: 15.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.4242, allocations: 0 / 0.6107 GB, free: 15.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.000357/0.4245, allocations: 145.4 kB / 0.6108 GB, free: 15.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.4246, allocations: 55.34 kB / 0.6109 GB, free: 15.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.4248, allocations: 177.5 kB / 0.6111 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.4248, allocations: 33.64 kB / 0.6111 GB, free: 15.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.4249, allocations: 139.8 kB / 0.6112 GB, free: 15.14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.425, allocations: 55.28 kB / 0.6113 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.4251, allocations: 49.61 kB / 0.6113 GB, free: 15.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4252, allocations: 326.8 kB / 0.6116 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.4253, allocations: 39.97 kB / 0.6117 GB, free: 14.67 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.4255, allocations: 133.7 kB / 0.6118 GB, free: 14.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.4258, allocations: 200.4 kB / 0.612 GB, free: 14.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4258, allocations: 0 / 0.612 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003604/0.4261, allocations: 217.1 kB / 0.6122 GB, free: 14.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.4262, allocations: 8 kB / 0.6122 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4262, allocations: 4 kB / 0.6122 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4262, allocations: 4 kB / 0.6122 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.4264, allocations: 55.86 kB / 0.6123 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.4264, allocations: 12.39 kB / 0.6123 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4265, allocations: 31.75 kB / 0.6123 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.4266, allocations: 12 kB / 0.6123 GB, free: 13.9 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 0.0001251/0.4267, allocations: 129.7 kB / 0.6125 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.4267, allocations: 15.91 kB / 0.6125 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.4271, allocations: 152.3 kB / 0.6126 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.4271, allocations: 15.86 kB / 0.6126 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4271, allocations: 0 / 0.6126 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4271, allocations: 0 / 0.6126 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.4274, allocations: 217.5 kB / 0.6128 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4274, allocations: 0 / 0.6128 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.4275, allocations: 23.98 kB / 0.6129 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.4275, allocations: 0 / 0.6129 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4275, allocations: 12 kB / 0.6129 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.4276, allocations: 7.922 kB / 0.6129 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4276, allocations: 0 / 0.6129 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.4278, allocations: 218 kB / 0.6131 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.428, allocations: 116.8 kB / 0.6132 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.428, allocations: 8 kB / 0.6132 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.4282, allocations: 15.92 kB / 0.6132 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.4282, allocations: 8 kB / 0.6132 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.4283, allocations: 11.98 kB / 0.6132 GB, free: 12.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.82e-05/0.4284, allocations: 124.8 kB / 0.6134 GB, free: 12.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4284, allocations: 4 kB / 0.6134 GB, free: 12.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004004/0.4288, allocations: 75.98 kB / 0.6134 GB, free: 12.68 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.0003354/0.4291, allocations: 188.5 kB / 0.6136 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.4294, allocations: 128.3 kB / 0.6137 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4294, allocations: 0 / 0.6137 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.4295, allocations: 43.92 kB / 0.6138 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.43, allocations: 48.38 kB / 0.6138 GB, free: 12.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.4307, allocations: 377.4 kB / 0.6142 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.4311, allocations: 0.7166 MB / 0.6149 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.4312, allocations: 23.44 kB / 0.6149 GB, free: 11.1 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4312, allocations: 4 kB / 0.6149 GB, free: 11.09 MB / 462.1 MB Notification: Performance of Templates: time 0.006412/0.4376, allocations: 3.428 MB / 0.6183 GB, free: 7.711 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)