Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009649/0.000965, allocations: 187.8 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.486/1.486, allocations: 194.3 MB / 203.1 MB, free: 9.258 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001771/0.001771, allocations: 114.5 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.139e-05/1.129e-05, allocations: 0 / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.09468, allocations: 44.51 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.663/6.758, allocations: 2.614 GB / 2.948 GB, free: 111 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/6.758, allocations: 65.25 kB / 2.948 GB, free: 111 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2618/7.02, allocations: 105.2 MB / 3.051 GB, free: 15.62 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.214e-06/7.02, allocations: 0 / 3.051 GB, free: 15.62 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.65e-05/7.02, allocations: 0 / 3.051 GB, free: 15.62 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.007172/7.027, allocations: 1.146 MB / 3.052 GB, free: 14.42 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/7.027, allocations: 12.03 kB / 3.052 GB, free: 14.41 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/7.028, allocations: 55.06 kB / 3.052 GB, free: 14.36 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/7.028, allocations: 218.8 kB / 3.052 GB, free: 14.11 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/7.028, allocations: 8.656 kB / 3.052 GB, free: 14.1 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/7.028, allocations: 12 kB / 3.052 GB, free: 14.09 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003678/7.028, allocations: 204.5 kB / 3.053 GB, free: 13.89 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/7.029, allocations: 204.9 kB / 3.053 GB, free: 13.66 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/7.029, allocations: 3.938 kB / 3.053 GB, free: 13.66 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/7.029, allocations: 4.344 kB / 3.053 GB, free: 13.65 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/7.029, allocations: 7.953 kB / 3.053 GB, free: 13.64 MB / 395.1 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/7.03, allocations: 1.154 MB / 3.054 GB, free: 12.4 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/7.03, allocations: 160.2 kB / 3.054 GB, free: 12.21 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/7.03, allocations: 86.95 kB / 3.054 GB, free: 12.12 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.356/7.386, allocations: 47.35 MB / 3.1 GB, free: 44.95 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/7.387, allocations: 36.66 kB / 3.1 GB, free: 44.91 MB / 395.1 MB Notification: Performance of pre-optimization done (n=23): time 2.594e-06/7.387, allocations: 0 / 3.1 GB, free: 44.91 MB / 395.1 MB Notification: Performance of matching and sorting (n=33): time 0.00481/7.391, allocations: 1.229 MB / 3.102 GB, free: 44.63 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/7.391, allocations: 112.4 kB / 3.102 GB, free: 44.51 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/7.391, allocations: 106 kB / 3.102 GB, free: 44.42 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/7.392, allocations: 25.7 kB / 3.102 GB, free: 44.39 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/7.392, allocations: 104.9 kB / 3.102 GB, free: 44.29 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.657e-05/7.392, allocations: 117.6 kB / 3.102 GB, free: 44.23 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/7.392, allocations: 2.156 kB / 3.102 GB, free: 44.23 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 6.401e-05/7.392, allocations: 327.1 kB / 3.102 GB, free: 43.92 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/7.392, allocations: 99.78 kB / 3.103 GB, free: 43.92 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/7.392, allocations: 168.4 kB / 3.103 GB, free: 43.85 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/7.393, allocations: 165.3 kB / 3.103 GB, free: 43.85 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/7.393, allocations: 3.188 kB / 3.103 GB, free: 43.85 MB / 395.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001084/7.394, allocations: 402.6 kB / 3.103 GB, free: 43.8 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/7.394, allocations: 9.719 kB / 3.103 GB, free: 43.8 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/7.394, allocations: 0 / 3.103 GB, free: 43.8 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/7.394, allocations: 29.55 kB / 3.103 GB, free: 43.79 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/7.395, allocations: 94.67 kB / 3.103 GB, free: 43.79 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003196/7.395, allocations: 0.5592 MB / 3.104 GB, free: 43.27 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/7.395, allocations: 15.88 kB / 3.104 GB, free: 43.27 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/7.395, allocations: 19.19 kB / 3.104 GB, free: 43.27 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001191/7.396, allocations: 110.9 kB / 3.104 GB, free: 43.16 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.482e-05/7.396, allocations: 20.53 kB / 3.104 GB, free: 43.16 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/7.397, allocations: 1.413 MB / 3.105 GB, free: 42.99 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/7.397, allocations: 26.91 kB / 3.105 GB, free: 42.99 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/7.397, allocations: 1 kB / 3.105 GB, free: 42.99 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/7.397, allocations: 5.203 kB / 3.105 GB, free: 42.99 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/7.4, allocations: 1.879 MB / 3.107 GB, free: 42.63 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/7.4, allocations: 0 / 3.107 GB, free: 42.63 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/7.401, allocations: 93.06 kB / 3.107 GB, free: 42.62 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/7.401, allocations: 61.12 kB / 3.107 GB, free: 42.62 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/7.401, allocations: 16.45 kB / 3.107 GB, free: 42.62 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003058/7.401, allocations: 0.6128 MB / 3.108 GB, free: 42.09 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/7.401, allocations: 5.078 kB / 3.108 GB, free: 42.09 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/7.403, allocations: 1.652 MB / 3.11 GB, free: 41.61 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/7.404, allocations: 129.4 kB / 3.11 GB, free: 41.5 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/7.404, allocations: 4.359 kB / 3.11 GB, free: 41.5 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/7.404, allocations: 21.88 kB / 3.11 GB, free: 41.49 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/7.404, allocations: 34.86 kB / 3.11 GB, free: 41.49 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/7.404, allocations: 17.42 kB / 3.11 GB, free: 41.49 MB / 395.1 MB Notification: Performance of sorting global known variables: time 5.935e-05/7.404, allocations: 94.56 kB / 3.11 GB, free: 41.41 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.41e-07/7.404, allocations: 0 / 3.11 GB, free: 41.41 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.005575/7.41, allocations: 0.9451 MB / 3.111 GB, free: 41.41 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009096/7.419, allocations: 1.265 MB / 3.112 GB, free: 41.25 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/7.42, allocations: 0.5372 MB / 3.113 GB, free: 41.24 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/7.42, allocations: 0 / 3.113 GB, free: 41.24 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008626/7.421, allocations: 484 kB / 3.113 GB, free: 41.24 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007503/7.422, allocations: 65.78 kB / 3.113 GB, free: 41.23 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/7.424, allocations: 1.031 MB / 3.114 GB, free: 40.92 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/7.425, allocations: 0.8283 MB / 3.115 GB, free: 40.22 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0005143/7.425, allocations: 136.3 kB / 3.115 GB, free: 40.2 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/7.426, allocations: 35.03 kB / 3.115 GB, free: 40.19 MB / 395.1 MB Notification: Performance of SimCode: time 5.91e-07/7.426, allocations: 5.531 kB / 3.115 GB, free: 40.19 MB / 395.1 MB Notification: Performance of Templates: time 0.04925/7.475, allocations: 25.24 MB / 3.14 GB, free: 38.64 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.2_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe 2>&1)