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.001095/0.001096, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.75/1.75, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4307/0.4307, allocations: 54.94 MB / 324.7 MB, free: 15.96 MB / 270.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.001768/0.001768, allocations: 63.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1578, allocations: 59.59 MB / 454.9 MB, free: 156 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTestImplementation): time 0.2965/0.4543, allocations: 13.16 MB / 468.1 MB, free: 32.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.4564, allocations: 1.608 MB / 469.7 MB, free: 31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.4566, allocations: 9.688 kB / 469.7 MB, free: 30.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.4572, allocations: 178.7 kB / 469.9 MB, free: 30.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.4577, allocations: 312.1 kB / 470.2 MB, free: 30.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.4581, allocations: 176.3 kB / 470.3 MB, free: 30.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.4587, allocations: 0.682 MB / 471 MB, free: 30.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.4589, allocations: 110.5 kB / 471.1 MB, free: 30.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/0.4594, allocations: 354.3 kB / 471.5 MB, free: 30.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.4597, allocations: 238.1 kB / 471.7 MB, free: 30 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.4597, allocations: 22.69 kB / 471.7 MB, free: 30 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.4598, allocations: 33.88 kB / 471.8 MB, free: 29.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.4599, allocations: 68.33 kB / 471.8 MB, free: 29.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.4601, allocations: 160.5 kB / 472 MB, free: 29.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.4604, allocations: 368.3 kB / 472.4 MB, free: 29.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4604, allocations: 0 / 472.4 MB, free: 29.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4604, allocations: 0 / 472.4 MB, free: 29.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4604, allocations: 0 / 472.4 MB, free: 29.74 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.0006551/0.4611, allocations: 0.5471 MB / 472.9 MB, free: 29.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4611, allocations: 9.25 kB / 472.9 MB, free: 29.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.4614, allocations: 40.25 kB / 472.9 MB, free: 29.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.4617, allocations: 270.8 kB / 473.2 MB, free: 29.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.4617, allocations: 21.41 kB / 473.2 MB, free: 29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.4618, allocations: 25.66 kB / 473.3 MB, free: 28.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.4622, allocations: 321.4 kB / 473.6 MB, free: 28.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.4622, allocations: 0 / 473.6 MB, free: 28.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.4622, allocations: 10.81 kB / 473.6 MB, free: 28.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.4623, allocations: 9.25 kB / 473.6 MB, free: 28.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.4625, allocations: 171.5 kB / 473.8 MB, free: 28.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.4638, allocations: 1.846 MB / 475.6 MB, free: 27.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.464, allocations: 103.5 kB / 475.7 MB, free: 26.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.877e-05/0.4641, allocations: 56.39 kB / 475.8 MB, free: 26.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.4641, allocations: 5.047 kB / 475.8 MB, free: 26.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.4641, allocations: 38.14 kB / 475.8 MB, free: 26.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.4641, allocations: 4 kB / 475.8 MB, free: 26.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001055/0.4652, allocations: 0.6301 MB / 476.4 MB, free: 26.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.4652, allocations: 54.25 kB / 476.5 MB, free: 26.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.4655, allocations: 278.3 kB / 476.8 MB, free: 26.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.4655, allocations: 35.98 kB / 476.8 MB, free: 26.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.4656, allocations: 195.6 kB / 477 MB, free: 25.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.4656, allocations: 61.03 kB / 477 MB, free: 25.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.199e-05/0.4657, allocations: 59.16 kB / 477.1 MB, free: 25.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.4658, allocations: 332.9 kB / 477.4 MB, free: 25.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.4659, allocations: 55.7 kB / 477.5 MB, free: 25.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.466, allocations: 168.8 kB / 477.6 MB, free: 25.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.4662, allocations: 227.2 kB / 477.9 MB, free: 25.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4662, allocations: 3.344 kB / 477.9 MB, free: 25.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003466/0.4666, allocations: 290.1 kB / 478.2 MB, free: 25.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4666, allocations: 5.625 kB / 478.2 MB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4666, allocations: 6.812 kB / 478.2 MB, free: 25.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.739e-05/0.4667, allocations: 20.73 kB / 478.2 MB, free: 25.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.467, allocations: 71.73 kB / 478.3 MB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00074/0.4677, allocations: 1.384 MB / 479.6 MB, free: 23.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.4679, allocations: 13.69 kB / 479.7 MB, free: 23.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.4679, allocations: 16.44 kB / 479.7 MB, free: 23.59 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.0001091/0.468, allocations: 155.6 kB / 479.8 MB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.468, allocations: 28.91 kB / 479.9 MB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.4681, allocations: 22.5 kB / 479.9 MB, free: 23.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4681, allocations: 2.875 kB / 479.9 MB, free: 23.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4681, allocations: 0 / 479.9 MB, free: 23.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002338/0.4683, allocations: 462 kB / 480.3 MB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.469, allocations: 0.573 MB / 480.9 MB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.469, allocations: 3.031 kB / 480.9 MB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.4691, allocations: 39.81 kB / 480.9 MB, free: 22.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4691, allocations: 6.781 kB / 481 MB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4692, allocations: 11.16 kB / 481 MB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4692, allocations: 1.5 kB / 481 MB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4692, allocations: 2.875 kB / 481 MB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.4695, allocations: 332.1 kB / 481.3 MB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.4696, allocations: 103.3 kB / 481.4 MB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.4696, allocations: 6.656 kB / 481.4 MB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.4698, allocations: 9.281 kB / 481.4 MB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.4698, allocations: 8.453 kB / 481.4 MB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.4698, allocations: 12.48 kB / 481.4 MB, free: 22.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.47, allocations: 196.7 kB / 481.6 MB, free: 21.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.47, allocations: 0 / 481.6 MB, free: 21.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003426/0.4703, allocations: 74.75 kB / 481.7 MB, free: 21.98 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.0001013/0.4704, allocations: 101.9 kB / 481.8 MB, free: 21.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.4708, allocations: 266.2 kB / 482.1 MB, free: 21.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4709, allocations: 3.562 kB / 482.1 MB, free: 21.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.4709, allocations: 61.78 kB / 482.1 MB, free: 21.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009411/0.4719, allocations: 149.3 kB / 482.3 MB, free: 21.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.4728, allocations: 0.5897 MB / 482.9 MB, free: 21.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.473, allocations: 0.7568 MB / 483.6 MB, free: 20.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.4732, allocations: 47.41 kB / 483.7 MB, free: 20.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.4732, allocations: 27.47 kB / 483.7 MB, free: 20.56 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4732, allocations: 0 / 483.7 MB, free: 20.56 MB / 382.1 MB Notification: Performance of Templates: time 0.007729/0.481, allocations: 4.705 MB / 488.4 MB, free: 20.29 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)