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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009676/0.009676, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4433/0.4433, allocations: 55.01 MB / 325.8 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000571/0.0005708, allocations: 12 kB / 397.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5134/0.5139, allocations: 60.72 MB / 458 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTestImplementation): time 0.01158/0.5256, allocations: 12.66 MB / 470.6 MB, free: 32.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.5276, allocations: 1.584 MB / 472.2 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.5278, allocations: 6.875 kB / 472.2 MB, free: 31.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.5284, allocations: 143.5 kB / 472.3 MB, free: 31.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005878/0.529, allocations: 295 kB / 472.6 MB, free: 31.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.5295, allocations: 176.8 kB / 472.8 MB, free: 31.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000937/0.5304, allocations: 1.13 MB / 473.9 MB, free: 30.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.5306, allocations: 78.7 kB / 474 MB, free: 30.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000531/0.5312, allocations: 302 kB / 474.3 MB, free: 30.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/0.5315, allocations: 263.1 kB / 474.6 MB, free: 30.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.5316, allocations: 10.94 kB / 474.6 MB, free: 30.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.5317, allocations: 20.53 kB / 474.6 MB, free: 30.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.102e-05/0.5318, allocations: 55.27 kB / 474.7 MB, free: 30.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.532, allocations: 175.2 kB / 474.8 MB, free: 30.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.5324, allocations: 352.7 kB / 475.2 MB, free: 30.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.5324, allocations: 0 / 475.2 MB, free: 30.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.36e-06/0.5324, allocations: 0 / 475.2 MB, free: 30.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.5324, allocations: 2.969 kB / 475.2 MB, free: 30.14 MB / 382.1 MB 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.0008252/0.5333, allocations: 0.4899 MB / 475.7 MB, free: 29.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.5333, allocations: 12.44 kB / 475.7 MB, free: 29.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/0.5337, allocations: 36.66 kB / 475.7 MB, free: 29.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.5341, allocations: 267.9 kB / 476 MB, free: 29.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.5341, allocations: 20.5 kB / 476 MB, free: 29.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.5342, allocations: 28.53 kB / 476 MB, free: 29.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.5347, allocations: 314.6 kB / 476.3 MB, free: 29.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.5347, allocations: 3.906 kB / 476.3 MB, free: 29.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.5348, allocations: 14 kB / 476.3 MB, free: 29.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/0.5348, allocations: 18.11 kB / 476.4 MB, free: 29.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.5351, allocations: 167 kB / 476.5 MB, free: 29.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.5368, allocations: 1.841 MB / 478.4 MB, free: 27.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.5371, allocations: 109.6 kB / 478.5 MB, free: 27.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.5371, allocations: 58.47 kB / 478.5 MB, free: 27.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.5372, allocations: 0 / 478.5 MB, free: 27.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.5372, allocations: 37.25 kB / 478.6 MB, free: 27.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.5372, allocations: 0 / 478.6 MB, free: 27.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001256/0.5385, allocations: 0.639 MB / 479.2 MB, free: 26.83 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.5385, allocations: 54.38 kB / 479.3 MB, free: 26.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.5388, allocations: 279.8 kB / 479.5 MB, free: 26.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.5388, allocations: 33.39 kB / 479.6 MB, free: 26.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.539, allocations: 191 kB / 479.8 MB, free: 26.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.539, allocations: 62.38 kB / 479.8 MB, free: 26.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.5391, allocations: 29.7 kB / 479.8 MB, free: 26.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5392, allocations: 333.4 kB / 480.2 MB, free: 26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.689e-05/0.5393, allocations: 62.41 kB / 480.2 MB, free: 25.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.5395, allocations: 158.7 kB / 480.4 MB, free: 25.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.5398, allocations: 233 kB / 480.6 MB, free: 25.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5398, allocations: 0 / 480.6 MB, free: 25.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003981/0.5402, allocations: 286.7 kB / 480.9 MB, free: 25.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.5402, allocations: 5.625 kB / 480.9 MB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5402, allocations: 9.047 kB / 480.9 MB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/0.5403, allocations: 26.06 kB / 480.9 MB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.5406, allocations: 77.03 kB / 481 MB, free: 25.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008649/0.5414, allocations: 1.287 MB / 482.3 MB, free: 24.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.5416, allocations: 28.75 kB / 482.3 MB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.5416, allocations: 8.812 kB / 482.3 MB, free: 24.13 MB / 382.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.5418, allocations: 152.2 kB / 482.5 MB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.5419, allocations: 25.72 kB / 482.5 MB, free: 23.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.5419, allocations: 28.95 kB / 482.5 MB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.5419, allocations: 0 / 482.5 MB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.5419, allocations: 6.781 kB / 482.5 MB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002806/0.5422, allocations: 457.9 kB / 483 MB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006729/0.5429, allocations: 0.5694 MB / 483.6 MB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5429, allocations: 3.312 kB / 483.6 MB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.5431, allocations: 37.53 kB / 483.6 MB, free: 23.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.5431, allocations: 6.734 kB / 483.6 MB, free: 23.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.5431, allocations: 6.812 kB / 483.6 MB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5431, allocations: 2.969 kB / 483.6 MB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5431, allocations: 3.938 kB / 483.6 MB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.5434, allocations: 337.1 kB / 483.9 MB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.5435, allocations: 100.8 kB / 484 MB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.5435, allocations: 10.19 kB / 484.1 MB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.5437, allocations: 9.625 kB / 484.1 MB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.5438, allocations: 21.06 kB / 484.1 MB, free: 22.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.5438, allocations: 12.3 kB / 484.1 MB, free: 22.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.544, allocations: 194.9 kB / 484.3 MB, free: 22.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.544, allocations: 0 / 484.3 MB, free: 22.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.5443, allocations: 69.81 kB / 484.4 MB, free: 22.52 MB / 382.1 MB 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 (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.0001241/0.5445, allocations: 103.2 kB / 484.5 MB, free: 22.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004629/0.5449, allocations: 270.1 kB / 484.7 MB, free: 22.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.545, allocations: 0 / 484.7 MB, free: 22.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/0.5451, allocations: 60.59 kB / 484.8 MB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.5462, allocations: 148.1 kB / 484.9 MB, free: 22.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.5474, allocations: 0.725 MB / 485.6 MB, free: 21.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.5477, allocations: 0.7572 MB / 486.4 MB, free: 21.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.5479, allocations: 45.05 kB / 486.4 MB, free: 21.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.548, allocations: 24.88 kB / 486.5 MB, free: 21.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.548, allocations: 0 / 486.5 MB, free: 21.02 MB / 382.1 MB Notification: Performance of Templates: time 0.008289/0.5563, allocations: 4.46 MB / 490.9 MB, free: 20.74 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: