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.001029/0.001029, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00113/0.00113, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4006/0.4006, allocations: 54.98 MB / 325.4 MB, free: 0.7109 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.0005429/0.0005432, allocations: 12 kB / 396.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3515, allocations: 60.72 MB / 457.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTestImplementation): time 0.009843/0.3614, allocations: 10.99 MB / 468.3 MB, free: 34.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3629, allocations: 1.416 MB / 469.7 MB, free: 33.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.3631, allocations: 7.594 kB / 469.7 MB, free: 33.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.3636, allocations: 138.9 kB / 469.9 MB, free: 32.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.364, allocations: 209.3 kB / 470.1 MB, free: 32.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.3646, allocations: 144.6 kB / 470.2 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006016/0.3653, allocations: 383.3 kB / 470.6 MB, free: 32.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.3655, allocations: 75.8 kB / 470.6 MB, free: 32.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.3659, allocations: 258 kB / 470.9 MB, free: 32.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.3661, allocations: 133.2 kB / 471 MB, free: 32.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.3661, allocations: 16.19 kB / 471 MB, free: 32.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.947e-05/0.3662, allocations: 25.12 kB / 471.1 MB, free: 32.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.3663, allocations: 51.67 kB / 471.1 MB, free: 32.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.3664, allocations: 90.36 kB / 471.2 MB, free: 32.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.3667, allocations: 274.9 kB / 471.5 MB, free: 32.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.3667, allocations: 0 / 471.5 MB, free: 32.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3667, allocations: 0 / 471.5 MB, free: 32.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3667, allocations: 1.125 kB / 471.5 MB, free: 32.23 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.0006254/0.3673, allocations: 0.4965 MB / 472 MB, free: 31.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3674, allocations: 8.25 kB / 472 MB, free: 31.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.3676, allocations: 48.77 kB / 472 MB, free: 31.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.3679, allocations: 262.2 kB / 472.3 MB, free: 31.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.368, allocations: 16.44 kB / 472.3 MB, free: 31.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.368, allocations: 22.25 kB / 472.3 MB, free: 31.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.3684, allocations: 305.1 kB / 472.6 MB, free: 31.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.3684, allocations: 6.969 kB / 472.6 MB, free: 31.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.3684, allocations: 7.125 kB / 472.6 MB, free: 31.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.3685, allocations: 12.53 kB / 472.6 MB, free: 31.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.3687, allocations: 163.1 kB / 472.8 MB, free: 31.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.37, allocations: 1.849 MB / 474.7 MB, free: 29.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.3702, allocations: 108.7 kB / 474.8 MB, free: 29.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.3702, allocations: 3 kB / 474.8 MB, free: 29.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.3702, allocations: 34.56 kB / 474.8 MB, free: 29.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.3702, allocations: 3.938 kB / 474.8 MB, free: 29.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001115/0.3714, allocations: 0.649 MB / 475.5 MB, free: 28.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.3714, allocations: 51.41 kB / 475.5 MB, free: 28.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.3717, allocations: 268.3 kB / 475.8 MB, free: 28.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3717, allocations: 29.7 kB / 475.8 MB, free: 28.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3718, allocations: 201.5 kB / 476 MB, free: 28.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.3719, allocations: 60.92 kB / 476 MB, free: 28.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.3719, allocations: 6.281 kB / 476.1 MB, free: 28.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.372, allocations: 329.8 kB / 476.4 MB, free: 28.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3721, allocations: 55.45 kB / 476.4 MB, free: 28.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3722, allocations: 159.2 kB / 476.6 MB, free: 27.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3724, allocations: 91.03 kB / 476.7 MB, free: 27.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3724, allocations: 0 / 476.7 MB, free: 27.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003468/0.3727, allocations: 282.8 kB / 477 MB, free: 27.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3727, allocations: 7.969 kB / 477 MB, free: 27.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3728, allocations: 3 kB / 477 MB, free: 27.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.727e-05/0.3729, allocations: 25.64 kB / 477 MB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.3731, allocations: 76.19 kB / 477.1 MB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008004/0.374, allocations: 1.3 MB / 478.4 MB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.3741, allocations: 15.61 kB / 478.4 MB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.3742, allocations: 14.03 kB / 478.4 MB, free: 26.43 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 (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.0001144/0.3743, allocations: 149.2 kB / 478.5 MB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.3743, allocations: 27.28 kB / 478.6 MB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.3744, allocations: 30.8 kB / 478.6 MB, free: 26.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3744, allocations: 3.953 kB / 478.6 MB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3744, allocations: 0 / 478.6 MB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002544/0.3747, allocations: 462.4 kB / 479 MB, free: 25.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.3753, allocations: 0.57 MB / 479.6 MB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3754, allocations: 2.625 kB / 479.6 MB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3755, allocations: 42.06 kB / 479.7 MB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3755, allocations: 0 / 479.7 MB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3755, allocations: 2.969 kB / 479.7 MB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-06/0.3755, allocations: 3.812 kB / 479.7 MB, free: 25.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3756, allocations: 7.719 kB / 479.7 MB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.3759, allocations: 389.4 kB / 480.1 MB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.3759, allocations: 99.39 kB / 480.2 MB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.376, allocations: 13.5 kB / 480.2 MB, free: 24.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.3762, allocations: 8.688 kB / 480.2 MB, free: 24.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.3762, allocations: 17.27 kB / 480.2 MB, free: 24.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3762, allocations: 8.25 kB / 480.2 MB, free: 24.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.3764, allocations: 198.5 kB / 480.4 MB, free: 24.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3764, allocations: 0 / 480.4 MB, free: 24.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.3768, allocations: 67.91 kB / 480.5 MB, free: 24.73 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 (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 8.843e-05/0.3769, allocations: 101.8 kB / 480.6 MB, free: 24.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000398/0.3773, allocations: 273.8 kB / 480.8 MB, free: 24.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3773, allocations: 3.469 kB / 480.8 MB, free: 24.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.442e-05/0.3774, allocations: 48.62 kB / 480.9 MB, free: 24.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008583/0.3783, allocations: 156 kB / 481 MB, free: 24.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008745/0.3791, allocations: 0.6983 MB / 481.7 MB, free: 23.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.3794, allocations: 0.7582 MB / 482.5 MB, free: 23.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.3796, allocations: 48.39 kB / 482.5 MB, free: 23.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.3796, allocations: 30.06 kB / 482.6 MB, free: 23.25 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3797, allocations: 0 / 482.6 MB, free: 23.25 MB / 382.1 MB Notification: Performance of Templates: time 0.007571/0.3872, allocations: 4.308 MB / 486.9 MB, free: 22.99 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: