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.3352/0.3352, allocations: 55.01 MB / 69.96 MB, free: 8.648 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.001328/0.001328, allocations: 189.8 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.104/2.104, allocations: 194.4 MB / 292.3 MB, free: 3.609 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001899/0.001899, allocations: 115.1 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004486, allocations: 12 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.185, allocations: 57.63 MB / 476.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.36, allocations: 305.3 MB / 0.7634 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/1.361, allocations: 72.7 kB / 0.7635 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1855/1.546, allocations: 99.32 MB / 0.8605 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.855e-06/1.546, allocations: 0 / 0.8605 GB, free: 30.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.476e-05/1.546, allocations: 11.94 kB / 0.8605 GB, free: 30.11 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.0009813/1.547, allocations: 0.5351 MB / 0.861 GB, free: 29.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/1.547, allocations: 8.031 kB / 0.861 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/1.548, allocations: 35.72 kB / 0.8611 GB, free: 29.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/1.548, allocations: 274.5 kB / 0.8613 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/1.548, allocations: 16.56 kB / 0.8614 GB, free: 29.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/1.548, allocations: 24 kB / 0.8614 GB, free: 29.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/1.549, allocations: 311.9 kB / 0.8617 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/1.549, allocations: 0 / 0.8617 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/1.549, allocations: 12 kB / 0.8617 GB, free: 28.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/1.549, allocations: 8 kB / 0.8617 GB, free: 28.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/1.549, allocations: 169.4 kB / 0.8619 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/1.551, allocations: 1.842 MB / 0.8637 GB, free: 26.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/1.551, allocations: 118.4 kB / 0.8638 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/1.551, allocations: 0 / 0.8638 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/1.551, allocations: 42.5 kB / 0.8638 GB, free: 26.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/1.551, allocations: 0 / 0.8638 GB, free: 26.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.001285/1.552, allocations: 0.6403 MB / 0.8644 GB, free: 25.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/1.552, allocations: 55.41 kB / 0.8645 GB, free: 25.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/1.553, allocations: 237.8 kB / 0.8647 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/1.553, allocations: 33.7 kB / 0.8647 GB, free: 25.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/1.553, allocations: 195.5 kB / 0.8649 GB, free: 25.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/1.553, allocations: 59.19 kB / 0.865 GB, free: 25.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/1.553, allocations: 8 kB / 0.865 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/1.553, allocations: 330.8 kB / 0.8653 GB, free: 24.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-05/1.553, allocations: 55.97 kB / 0.8654 GB, free: 24.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/1.553, allocations: 160.8 kB / 0.8655 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/1.553, allocations: 80.94 kB / 0.8656 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.553, allocations: 3.953 kB / 0.8656 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003676/1.554, allocations: 292.9 kB / 0.8659 GB, free: 24.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.554, allocations: 4 kB / 0.8659 GB, free: 24.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.554, allocations: 4 kB / 0.8659 GB, free: 24.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/1.554, allocations: 24.84 kB / 0.8659 GB, free: 24.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/1.554, allocations: 63.91 kB / 0.866 GB, free: 24.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008767/1.555, allocations: 1.299 MB / 0.8672 GB, free: 22.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/1.555, allocations: 15.98 kB / 0.8673 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/1.555, allocations: 8 kB / 0.8673 GB, free: 22.61 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 () * Number of clocked 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 0.0001621/1.555, allocations: 157.9 kB / 0.8674 GB, free: 22.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/1.555, allocations: 23.72 kB / 0.8674 GB, free: 22.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/1.555, allocations: 30.17 kB / 0.8675 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/1.555, allocations: 0 / 0.8675 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.555, allocations: 0 / 0.8675 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002585/1.556, allocations: 459.7 kB / 0.8679 GB, free: 21.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007266/1.556, allocations: 0.5804 MB / 0.8685 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.556, allocations: 0 / 0.8685 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/1.557, allocations: 35.92 kB / 0.8685 GB, free: 21.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.557, allocations: 7.984 kB / 0.8685 GB, free: 21.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/1.557, allocations: 4 kB / 0.8685 GB, free: 21.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/1.557, allocations: 4 kB / 0.8685 GB, free: 21.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.557, allocations: 0 / 0.8685 GB, free: 21.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/1.557, allocations: 392.2 kB / 0.8689 GB, free: 20.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/1.557, allocations: 108.7 kB / 0.869 GB, free: 20.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/1.557, allocations: 0 / 0.869 GB, free: 20.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/1.557, allocations: 19.92 kB / 0.869 GB, free: 20.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/1.557, allocations: 12 kB / 0.869 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/1.557, allocations: 23.92 kB / 0.869 GB, free: 20.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000173/1.558, allocations: 194 kB / 0.8692 GB, free: 20.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.558, allocations: 3.938 kB / 0.8692 GB, free: 20.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004374/1.558, allocations: 83.98 kB / 0.8693 GB, free: 20.25 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 () * Number of clocked 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.0003188/1.558, allocations: 204 kB / 0.8695 GB, free: 20.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004364/1.559, allocations: 263.2 kB / 0.8698 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.559, allocations: 128 / 0.8698 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/1.559, allocations: 59.86 kB / 0.8698 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/1.56, allocations: 153.3 kB / 0.87 GB, free: 19.56 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/1.561, allocations: 0.6971 MB / 0.8706 GB, free: 18.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/1.561, allocations: 0.7679 MB / 0.8714 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002803/1.561, allocations: 50.94 kB / 0.8714 GB, free: 17.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/1.561, allocations: 23.44 kB / 0.8715 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/1.561, allocations: 0 / 0.8715 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of Templates: time 0.01039/1.572, allocations: 5.719 MB / 0.8771 GB, free: 12.24 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)