Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") translateModel(Annex60.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2841/0.2841, allocations: 54.33 MB / 66.89 MB, free: 6.102 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00166/0.00166, allocations: 179.5 kB / 80.7 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.686/1.686, allocations: 194.2 MB / 288.6 MB, free: 14.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001822/0.001822, allocations: 116.5 kB / 346.9 MB, free: 4.703 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.418e-05/4.419e-05, allocations: 0 / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9957/1.116, allocations: 305.2 MB / 0.757 GB, free: 72.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/1.116, allocations: 73.7 kB / 0.7571 GB, free: 72.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5814/1.697, allocations: 98.91 MB / 0.8537 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.803e-06/1.697, allocations: 0 / 0.8537 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.851e-05/1.697, allocations: 5.219 kB / 0.8537 GB, free: 149.6 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007453/1.698, allocations: 0.5161 MB / 0.8542 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.698, allocations: 10.05 kB / 0.8542 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/1.699, allocations: 43.5 kB / 0.8542 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/1.699, allocations: 257.6 kB / 0.8545 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/1.699, allocations: 26.64 kB / 0.8545 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/1.699, allocations: 26.59 kB / 0.8545 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/1.7, allocations: 298.3 kB / 0.8548 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/1.7, allocations: 4.594 kB / 0.8548 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/1.7, allocations: 14.58 kB / 0.8548 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/1.7, allocations: 8.75 kB / 0.8548 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003462/1.7, allocations: 156.8 kB / 0.855 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/1.702, allocations: 1.842 MB / 0.8568 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/1.702, allocations: 107.9 kB / 0.8569 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.531e-05/1.702, allocations: 57.25 kB / 0.8569 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/1.702, allocations: 2.984 kB / 0.8569 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.702, allocations: 33.41 kB / 0.857 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/1.702, allocations: 0 / 0.857 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.001209/1.703, allocations: 0.5246 MB / 0.8575 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/1.703, allocations: 52.59 kB / 0.8575 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/1.704, allocations: 243.2 kB / 0.8578 GB, free: 147 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.704, allocations: 30.58 kB / 0.8578 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/1.704, allocations: 197.6 kB / 0.858 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/1.704, allocations: 59.94 kB / 0.8581 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/1.704, allocations: 5.219 kB / 0.8581 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/1.704, allocations: 339.7 kB / 0.8584 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.704, allocations: 52.59 kB / 0.8584 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/1.704, allocations: 156.8 kB / 0.8586 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/1.705, allocations: 84.27 kB / 0.8587 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.705, allocations: 1.188 kB / 0.8587 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005031/1.705, allocations: 283.3 kB / 0.8589 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.705, allocations: 6.281 kB / 0.8589 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.705, allocations: 4 kB / 0.8589 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/1.705, allocations: 27.03 kB / 0.859 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/1.706, allocations: 69.95 kB / 0.859 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008919/1.706, allocations: 1.288 MB / 0.8603 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/1.707, allocations: 22.28 kB / 0.8603 GB, free: 145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/1.707, allocations: 21.55 kB / 0.8603 GB, free: 145 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 9.188e-05/1.707, allocations: 120.9 kB / 0.8604 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/1.707, allocations: 23.47 kB / 0.8605 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.217e-05/1.707, allocations: 34.14 kB / 0.8605 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.707, allocations: 1.688 kB / 0.8605 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.707, allocations: 3.172 kB / 0.8605 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003094/1.707, allocations: 451.7 kB / 0.8609 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009097/1.708, allocations: 0.5784 MB / 0.8615 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.708, allocations: 2.188 kB / 0.8615 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/1.708, allocations: 32.25 kB / 0.8615 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.708, allocations: 9.234 kB / 0.8615 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/1.708, allocations: 4.188 kB / 0.8615 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.708, allocations: 4.562 kB / 0.8616 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.708, allocations: 3.297 kB / 0.8616 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/1.709, allocations: 394.5 kB / 0.8619 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/1.709, allocations: 101.5 kB / 0.862 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/1.709, allocations: 6.219 kB / 0.862 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/1.709, allocations: 13.59 kB / 0.862 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/1.709, allocations: 17.78 kB / 0.8621 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/1.709, allocations: 7.766 kB / 0.8621 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00023/1.709, allocations: 195.8 kB / 0.8623 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/1.709, allocations: 0 / 0.8623 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004746/1.71, allocations: 81.17 kB / 0.8623 GB, free: 143.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003236/1.71, allocations: 207.5 kB / 0.8625 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000484/1.711, allocations: 261.2 kB / 0.8628 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.711, allocations: 4.375 kB / 0.8628 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/1.711, allocations: 57.89 kB / 0.8628 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008904/1.712, allocations: 143.6 kB / 0.863 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/1.713, allocations: 393.8 kB / 0.8634 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/1.713, allocations: 0.7671 MB / 0.8641 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002447/1.713, allocations: 49.39 kB / 0.8642 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/1.713, allocations: 27.14 kB / 0.8642 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of SimCode: time 3.6e-07/1.713, allocations: 1.125 kB / 0.8642 GB, free: 142.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.01324/1.726, allocations: 5.955 MB / 0.87 GB, free: 142.4 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.pipe 2>&1)