Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9278/0.9278, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 61.61 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2212, allocations: 80.94 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.01144/0.2327, allocations: 4.711 MB / 0.589 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005491/0.2382, allocations: 2.698 MB / 0.5916 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.2384, allocations: 0 / 0.5916 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.2388, allocations: 47.67 kB / 0.5916 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.2393, allocations: 99.36 kB / 0.5917 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.2416, allocations: 0.4937 MB / 0.5922 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.242, allocations: 231.9 kB / 0.5924 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.162e-05/0.2421, allocations: 13.56 kB / 0.5925 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.2424, allocations: 123.5 kB / 0.5926 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.2427, allocations: 91.61 kB / 0.5927 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.2427, allocations: 8 kB / 0.5927 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.2439, allocations: 359.4 kB / 0.593 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2441, allocations: 39.81 kB / 0.593 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.2442, allocations: 79.66 kB / 0.5931 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009468/0.2452, allocations: 359.4 kB / 0.5935 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2452, allocations: 0 / 0.5935 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2452, allocations: 0 / 0.5935 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.2453, allocations: 8 kB / 0.5935 GB, free: 11.18 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.001162/0.2464, allocations: 0.4953 MB / 0.594 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.2465, allocations: 12.03 kB / 0.594 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.2468, allocations: 20.75 kB / 0.594 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.2472, allocations: 212 kB / 0.5942 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.2472, allocations: 16.7 kB / 0.5942 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.2473, allocations: 16.31 kB / 0.5942 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006059/0.2479, allocations: 248.3 kB / 0.5945 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2479, allocations: 0 / 0.5945 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.248, allocations: 12 kB / 0.5945 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-05/0.248, allocations: 11.98 kB / 0.5945 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008292/0.2489, allocations: 427.4 kB / 0.5949 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.2508, allocations: 0.9527 MB / 0.5958 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.2513, allocations: 151.1 kB / 0.596 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.2515, allocations: 64.89 kB / 0.596 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002395/0.2539, allocations: 1.825 MB / 0.5978 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.2539, allocations: 38.56 kB / 0.5978 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 5.66e-06/0.254, allocations: 3.984 kB / 0.5978 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005748/0.2545, allocations: 145.4 kB / 0.598 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.2546, allocations: 59.34 kB / 0.598 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.2549, allocations: 165.9 kB / 0.5982 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.2549, allocations: 29.7 kB / 0.5982 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2551, allocations: 143.7 kB / 0.5984 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.2552, allocations: 55.2 kB / 0.5984 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.2553, allocations: 53.61 kB / 0.5985 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.2555, allocations: 322.8 kB / 0.5988 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.2556, allocations: 47.97 kB / 0.5988 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.2559, allocations: 134.9 kB / 0.599 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.2563, allocations: 192.4 kB / 0.5991 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2563, allocations: 0 / 0.5991 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005958/0.257, allocations: 225.1 kB / 0.5994 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.257, allocations: 8 kB / 0.5994 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.257, allocations: 4 kB / 0.5994 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.2571, allocations: 4.469 kB / 0.5994 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.2574, allocations: 63.8 kB / 0.5994 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.2574, allocations: 7.984 kB / 0.5994 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.2577, allocations: 31.69 kB / 0.5995 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.2577, allocations: 8 kB / 0.5995 GB, free: 4.309 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 0.0001797/0.2579, allocations: 138.4 kB / 0.5996 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.258, allocations: 15.81 kB / 0.5996 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.2585, allocations: 144.6 kB / 0.5998 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.2586, allocations: 15.92 kB / 0.5998 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2586, allocations: 0 / 0.5998 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2586, allocations: 0 / 0.5998 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.259, allocations: 217.5 kB / 0.6 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2591, allocations: 3.984 kB / 0.6 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2592, allocations: 23.94 kB / 0.6 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2592, allocations: 0 / 0.6 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2593, allocations: 8 kB / 0.6 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.2593, allocations: 7.922 kB / 0.6 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2593, allocations: 0 / 0.6 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.2597, allocations: 219.3 kB / 0.6002 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.2599, allocations: 104.9 kB / 0.6003 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.2599, allocations: 8 kB / 0.6003 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.2603, allocations: 23.86 kB / 0.6004 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.2603, allocations: 7.984 kB / 0.6004 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.2604, allocations: 15.98 kB / 0.6004 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001557/0.2606, allocations: 124.9 kB / 0.6005 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2606, allocations: 0 / 0.6005 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007027/0.2613, allocations: 79.94 kB / 0.6006 GB, free: 3.074 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.0005712/0.2619, allocations: 171.1 kB / 0.6007 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.2623, allocations: 138.9 kB / 0.6009 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2624, allocations: 0 / 0.6009 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.2625, allocations: 43.92 kB / 0.6009 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.2632, allocations: 52.5 kB / 0.601 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2645, allocations: 346.9 kB / 0.6013 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.265, allocations: 0.7128 MB / 0.602 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003006/0.2653, allocations: 45.91 kB / 0.602 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.2654, allocations: 23.44 kB / 0.6021 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.2654, allocations: 0 / 0.6021 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.358/0.6234, allocations: 3.402 MB / 0.6054 GB, free: 52.13 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)