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.001226/0.001227, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001396/0.001396, allocations: 168.7 kB / 15.95 MB, free: 204 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.732/1.732, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4075/0.4075, allocations: 55.02 MB / 325.4 MB, free: 0.6602 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.0005608/0.0005611, allocations: 16 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4247, allocations: 60.73 MB / 457.4 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTestImplementation): time 0.01019/0.4349, allocations: 12.03 MB / 469.4 MB, free: 33.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.4367, allocations: 1.504 MB / 470.9 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.4369, allocations: 3.875 kB / 470.9 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004568/0.4373, allocations: 130.5 kB / 471 MB, free: 32.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.4378, allocations: 293.4 kB / 471.3 MB, free: 32.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.4383, allocations: 149.1 kB / 471.5 MB, free: 32.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007421/0.439, allocations: 0.9192 MB / 472.4 MB, free: 31.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.4392, allocations: 78.95 kB / 472.5 MB, free: 31.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.4398, allocations: 308.5 kB / 472.8 MB, free: 31.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.4401, allocations: 236.2 kB / 473 MB, free: 31.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.402e-05/0.4401, allocations: 9.75 kB / 473 MB, free: 31.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.4402, allocations: 20.83 kB / 473 MB, free: 31.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.4403, allocations: 54.97 kB / 473.1 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.4404, allocations: 86.33 kB / 473.2 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.4407, allocations: 279.6 kB / 473.4 MB, free: 31.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4407, allocations: 0 / 473.4 MB, free: 31.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4407, allocations: 2.25 kB / 473.4 MB, free: 31.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.4407, allocations: 0 / 473.4 MB, free: 31.33 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.0005694/0.4413, allocations: 0.4954 MB / 473.9 MB, free: 30.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4413, allocations: 8.875 kB / 473.9 MB, free: 30.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002439/0.4416, allocations: 54.31 kB / 474 MB, free: 30.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.4418, allocations: 254 kB / 474.2 MB, free: 30.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.4419, allocations: 19.75 kB / 474.3 MB, free: 30.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.4419, allocations: 29.22 kB / 474.3 MB, free: 30.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.4423, allocations: 307.4 kB / 474.6 MB, free: 30.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.4423, allocations: 0.875 kB / 474.6 MB, free: 30.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.4424, allocations: 10.84 kB / 474.6 MB, free: 30.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.4424, allocations: 14.09 kB / 474.6 MB, free: 30.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.4427, allocations: 165.5 kB / 474.8 MB, free: 30.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.444, allocations: 1.844 MB / 476.6 MB, free: 28.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.4442, allocations: 109.6 kB / 476.7 MB, free: 28.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/0.4442, allocations: 50.27 kB / 476.8 MB, free: 28.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.4443, allocations: 0 / 476.8 MB, free: 28.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.4443, allocations: 42.56 kB / 476.8 MB, free: 28.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.104e-06/0.4443, allocations: 4.844 kB / 476.8 MB, free: 28.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001142/0.4455, allocations: 0.6345 MB / 477.5 MB, free: 28.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.4455, allocations: 55.09 kB / 477.5 MB, free: 27.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.4457, allocations: 272.5 kB / 477.8 MB, free: 27.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.4458, allocations: 33.7 kB / 477.8 MB, free: 27.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4459, allocations: 197.8 kB / 478 MB, free: 27.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.4459, allocations: 55 kB / 478.1 MB, free: 27.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.4459, allocations: 10.56 kB / 478.1 MB, free: 27.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.451e-05/0.446, allocations: 330.7 kB / 478.4 MB, free: 27.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.4461, allocations: 56.23 kB / 478.4 MB, free: 27.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.4462, allocations: 161.4 kB / 478.6 MB, free: 27.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.4463, allocations: 82.88 kB / 478.7 MB, free: 27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4464, allocations: 2.844 kB / 478.7 MB, free: 27 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003312/0.4467, allocations: 286.3 kB / 479 MB, free: 26.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4467, allocations: 8.406 kB / 479 MB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4467, allocations: 2.656 kB / 479 MB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.999e-05/0.4468, allocations: 30 kB / 479 MB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.4471, allocations: 68.89 kB / 479.1 MB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007235/0.4478, allocations: 1.294 MB / 480.4 MB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.448, allocations: 18.34 kB / 480.4 MB, free: 25.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.448, allocations: 14.72 kB / 480.4 MB, free: 25.5 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.0001238/0.4481, allocations: 151.1 kB / 480.5 MB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.4482, allocations: 23.88 kB / 480.6 MB, free: 25.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.4482, allocations: 26.55 kB / 480.6 MB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.4482, allocations: 6.703 kB / 480.6 MB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.4483, allocations: 0 / 480.6 MB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002462/0.4485, allocations: 461.7 kB / 481.1 MB, free: 24.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.4492, allocations: 0.5752 MB / 481.6 MB, free: 24.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4492, allocations: 0 / 481.6 MB, free: 24.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.4493, allocations: 33.36 kB / 481.7 MB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4494, allocations: 2.594 kB / 481.7 MB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.4494, allocations: 9.969 kB / 481.7 MB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.4494, allocations: 4.125 kB / 481.7 MB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4494, allocations: 4.641 kB / 481.7 MB, free: 24.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.4497, allocations: 334 kB / 482 MB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.4497, allocations: 104.3 kB / 482.1 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.4498, allocations: 2.906 kB / 482.1 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.45, allocations: 15.72 kB / 482.1 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.45, allocations: 9.094 kB / 482.1 MB, free: 24.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.45, allocations: 9.328 kB / 482.1 MB, free: 24.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.4502, allocations: 199.2 kB / 482.3 MB, free: 23.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4502, allocations: 0 / 482.3 MB, free: 23.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.4506, allocations: 70.12 kB / 482.4 MB, free: 23.89 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 0.0001353/0.4507, allocations: 104.8 kB / 482.5 MB, free: 23.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004295/0.4512, allocations: 265.2 kB / 482.8 MB, free: 23.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.4512, allocations: 3.281 kB / 482.8 MB, free: 23.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.4513, allocations: 57.92 kB / 482.8 MB, free: 23.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/0.4522, allocations: 151.9 kB / 483 MB, free: 23.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.4532, allocations: 0.7047 MB / 483.7 MB, free: 23.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.4534, allocations: 0.7573 MB / 484.4 MB, free: 22.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.4537, allocations: 47.12 kB / 484.5 MB, free: 22.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.4537, allocations: 25.28 kB / 484.5 MB, free: 22.4 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4537, allocations: 0 / 484.5 MB, free: 22.4 MB / 382.1 MB Notification: Performance of Templates: time 0.007966/0.4617, allocations: 4.321 MB / 488.8 MB, free: 22.14 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: