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.001516/0.001516, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.002294/0.002294, allocations: 191.1 kB / 16.13 MB, free: 6.777 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.634/1.634, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3933/0.3933, allocations: 54.93 MB / 324.3 MB, free: 148 kB / 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.001357/0.001357, allocations: 63.91 kB / 394.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.142, allocations: 59.6 MB / 454.3 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTestImplementation): time 0.2784/0.4205, allocations: 13.13 MB / 467.4 MB, free: 32.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.4226, allocations: 1.6 MB / 469 MB, free: 31.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.4228, allocations: 6.812 kB / 469 MB, free: 31.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.4234, allocations: 155.5 kB / 469.2 MB, free: 31.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004818/0.4239, allocations: 303.5 kB / 469.5 MB, free: 31.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.4244, allocations: 170.3 kB / 469.6 MB, free: 31.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008262/0.4252, allocations: 1.131 MB / 470.8 MB, free: 30.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.4254, allocations: 76.25 kB / 470.8 MB, free: 30.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005131/0.4259, allocations: 315.1 kB / 471.2 MB, free: 30.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.4262, allocations: 249 kB / 471.4 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.4263, allocations: 14.53 kB / 471.4 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.4264, allocations: 24.91 kB / 471.4 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.4265, allocations: 63.81 kB / 471.5 MB, free: 30.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.4267, allocations: 153.2 kB / 471.6 MB, free: 30.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.427, allocations: 358.4 kB / 472 MB, free: 30.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.427, allocations: 4 kB / 472 MB, free: 30.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.427, allocations: 3 kB / 472 MB, free: 30.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.427, allocations: 0 / 472 MB, free: 30.21 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.000688/0.4277, allocations: 0.5449 MB / 472.5 MB, free: 29.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4278, allocations: 12.5 kB / 472.6 MB, free: 29.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.4281, allocations: 39.19 kB / 472.6 MB, free: 29.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.4283, allocations: 269.5 kB / 472.9 MB, free: 29.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4283, allocations: 18.34 kB / 472.9 MB, free: 29.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.4284, allocations: 34.36 kB / 472.9 MB, free: 29.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.4288, allocations: 304.3 kB / 473.2 MB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4288, allocations: 0 / 473.2 MB, free: 29.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.4288, allocations: 14.31 kB / 473.2 MB, free: 29.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.4289, allocations: 12.34 kB / 473.2 MB, free: 29.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.4291, allocations: 165 kB / 473.4 MB, free: 29.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.4304, allocations: 1.834 MB / 475.2 MB, free: 27.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.4306, allocations: 120.7 kB / 475.3 MB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.4307, allocations: 55.23 kB / 475.4 MB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.4307, allocations: 3.781 kB / 475.4 MB, free: 27.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.4307, allocations: 34.56 kB / 475.4 MB, free: 27.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.4307, allocations: 0 / 475.4 MB, free: 27.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001064/0.4318, allocations: 0.6432 MB / 476.1 MB, free: 26.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.4318, allocations: 59.03 kB / 476.1 MB, free: 26.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.4321, allocations: 277.8 kB / 476.4 MB, free: 26.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.4321, allocations: 32.11 kB / 476.4 MB, free: 26.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.4322, allocations: 190.1 kB / 476.6 MB, free: 26.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.4323, allocations: 54.7 kB / 476.7 MB, free: 26.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.4323, allocations: 70.12 kB / 476.7 MB, free: 26.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.4324, allocations: 330.9 kB / 477.1 MB, free: 26.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.4325, allocations: 58.14 kB / 477.1 MB, free: 26.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.4326, allocations: 157.3 kB / 477.3 MB, free: 25.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.4328, allocations: 241.2 kB / 477.5 MB, free: 25.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4328, allocations: 3.938 kB / 477.5 MB, free: 25.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003753/0.4332, allocations: 287.4 kB / 477.8 MB, free: 25.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4332, allocations: 7.312 kB / 477.8 MB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4333, allocations: 8.344 kB / 477.8 MB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.407e-05/0.4334, allocations: 23.77 kB / 477.8 MB, free: 25.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.4336, allocations: 70.28 kB / 477.9 MB, free: 25.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007904/0.4344, allocations: 1.289 MB / 479.2 MB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.4346, allocations: 16.59 kB / 479.2 MB, free: 24.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.4346, allocations: 16.41 kB / 479.2 MB, free: 24.16 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.0001133/0.4347, allocations: 153.3 kB / 479.4 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.4348, allocations: 23.5 kB / 479.4 MB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.4348, allocations: 29.8 kB / 479.4 MB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4348, allocations: 2.062 kB / 479.4 MB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4349, allocations: 0 / 479.4 MB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002744/0.4351, allocations: 463.7 kB / 479.9 MB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006656/0.4358, allocations: 0.5744 MB / 480.5 MB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4358, allocations: 2.719 kB / 480.5 MB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.436, allocations: 43.39 kB / 480.5 MB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.436, allocations: 2.531 kB / 480.5 MB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.436, allocations: 6.531 kB / 480.5 MB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.436, allocations: 2.5 kB / 480.5 MB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.436, allocations: 3.938 kB / 480.5 MB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.4363, allocations: 329 kB / 480.8 MB, free: 22.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.4364, allocations: 101.4 kB / 480.9 MB, free: 22.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.4364, allocations: 6.469 kB / 480.9 MB, free: 22.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.4366, allocations: 15.78 kB / 481 MB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.4367, allocations: 12.53 kB / 481 MB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.4367, allocations: 12.42 kB / 481 MB, free: 22.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.4368, allocations: 195.1 kB / 481.2 MB, free: 22.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4368, allocations: 0 / 481.2 MB, free: 22.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.4372, allocations: 71.62 kB / 481.2 MB, free: 22.55 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 9.173e-05/0.4373, allocations: 108.7 kB / 481.4 MB, free: 22.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.4377, allocations: 271.8 kB / 481.6 MB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4377, allocations: 0 / 481.6 MB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.4378, allocations: 57.64 kB / 481.7 MB, free: 22.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/0.4388, allocations: 153.3 kB / 481.8 MB, free: 22.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008994/0.4397, allocations: 0.6732 MB / 482.5 MB, free: 21.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001885/0.4399, allocations: 0.7571 MB / 483.3 MB, free: 21.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.4401, allocations: 44.59 kB / 483.3 MB, free: 21.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.4401, allocations: 25.09 kB / 483.3 MB, free: 21.04 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4401, allocations: 0 / 483.3 MB, free: 21.04 MB / 382.1 MB Notification: Performance of Templates: time 0.007808/0.448, allocations: 4.482 MB / 487.8 MB, free: 20.8 MB / 382.1 MB 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)