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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 207.6 MB / 231.3 MB, free: 3.188 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4261/0.4261, allocations: 55.71 MB / 339.1 MB, free: 12.39 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") translateModel(Annex60.Media.Examples.WaterTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation") [Timeout 660] "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.002346/0.002346, allocations: 75.11 kB / 479.9 MB, free: 36.61 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1646, allocations: 62.85 MB / 0.53 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTestImplementation): time 0.01762/0.1822, allocations: 13.39 MB / 0.5431 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.1854, allocations: 1.63 MB / 0.5447 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002828/0.1856, allocations: 7.938 kB / 0.5447 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.1864, allocations: 178.9 kB / 0.5448 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008112/0.1872, allocations: 314.3 kB / 0.5451 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.1878, allocations: 190.4 kB / 0.5453 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009005/0.1887, allocations: 0.6847 MB / 0.546 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002826/0.189, allocations: 76.62 kB / 0.5461 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007295/0.1898, allocations: 358.6 kB / 0.5464 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.1901, allocations: 250.9 kB / 0.5467 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.1902, allocations: 27.94 kB / 0.5467 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1903, allocations: 31.98 kB / 0.5467 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1905, allocations: 75.75 kB / 0.5468 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.1906, allocations: 155.3 kB / 0.5469 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.1912, allocations: 366.6 kB / 0.5473 GB, free: 9.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1912, allocations: 7.938 kB / 0.5473 GB, free: 9.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1912, allocations: 0 / 0.5473 GB, free: 9.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1912, allocations: 0 / 0.5473 GB, free: 9.867 MB / 414.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.0009822/0.1922, allocations: 0.5572 MB / 0.5478 GB, free: 9.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1922, allocations: 8.031 kB / 0.5478 GB, free: 9.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.1925, allocations: 40.73 kB / 0.5479 GB, free: 9.215 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.193, allocations: 283.8 kB / 0.5481 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.193, allocations: 24.88 kB / 0.5482 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.1931, allocations: 24.38 kB / 0.5482 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.1936, allocations: 312 kB / 0.5485 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.1936, allocations: 0 / 0.5485 GB, free: 8.504 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.1936, allocations: 15.98 kB / 0.5485 GB, free: 8.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.1937, allocations: 8 kB / 0.5485 GB, free: 8.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.194, allocations: 169.5 kB / 0.5487 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.1958, allocations: 1.845 MB / 0.5505 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.1961, allocations: 110.6 kB / 0.5506 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.769e-05/0.1962, allocations: 44.84 kB / 0.5506 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1962, allocations: 7.938 kB / 0.5506 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.1962, allocations: 30.56 kB / 0.5507 GB, free: 6.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1962, allocations: 0 / 0.5507 GB, free: 6.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00135/0.1976, allocations: 0.6439 MB / 0.5513 GB, free: 5.402 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1976, allocations: 51.41 kB / 0.5513 GB, free: 5.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.1979, allocations: 282.5 kB / 0.5516 GB, free: 5.051 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.198, allocations: 29.7 kB / 0.5516 GB, free: 5.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1981, allocations: 192 kB / 0.5518 GB, free: 4.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.1982, allocations: 67.45 kB / 0.5519 GB, free: 4.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/0.1983, allocations: 61.66 kB / 0.5519 GB, free: 4.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1984, allocations: 334.8 kB / 0.5523 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.1985, allocations: 59.98 kB / 0.5523 GB, free: 4.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.1987, allocations: 165.2 kB / 0.5525 GB, free: 4.086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.199, allocations: 236.6 kB / 0.5527 GB, free: 3.809 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.199, allocations: 0 / 0.5527 GB, free: 3.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004513/0.1995, allocations: 282 kB / 0.553 GB, free: 3.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1995, allocations: 6.312 kB / 0.553 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.1995, allocations: 7.938 kB / 0.553 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/0.1996, allocations: 28.84 kB / 0.553 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.1999, allocations: 71.84 kB / 0.5531 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.2012, allocations: 1.387 MB / 0.5544 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.2013, allocations: 8 kB / 0.5544 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.2014, allocations: 15.94 kB / 0.5545 GB, free: 1.863 MB / 414.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.0001854/0.2015, allocations: 153.7 kB / 0.5546 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.2016, allocations: 23.86 kB / 0.5546 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.309e-05/0.2017, allocations: 34.27 kB / 0.5547 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2017, allocations: 0 / 0.5547 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2017, allocations: 0 / 0.5547 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004218/0.2021, allocations: 455.8 kB / 0.5551 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008763/0.203, allocations: 0.5764 MB / 0.5557 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.203, allocations: 4.156 kB / 0.5557 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.2031, allocations: 35.98 kB / 0.5557 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2031, allocations: 7.875 kB / 0.5557 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.2031, allocations: 4 kB / 0.5557 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.2031, allocations: 7.984 kB / 0.5557 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2032, allocations: 3.984 kB / 0.5557 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.2036, allocations: 327.9 kB / 0.556 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.2037, allocations: 97 kB / 0.5561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.2037, allocations: 19.88 kB / 0.5561 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.2039, allocations: 3.984 kB / 0.5561 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.2039, allocations: 16.05 kB / 0.5562 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.204, allocations: 12 kB / 0.5562 GB, free: 15.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.2042, allocations: 198 kB / 0.5564 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2042, allocations: 0 / 0.5564 GB, free: 15.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000405/0.2046, allocations: 64 kB / 0.5564 GB, free: 15.63 MB / 430.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.0001736/0.2048, allocations: 115 kB / 0.5565 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005553/0.2053, allocations: 267.1 kB / 0.5568 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2053, allocations: 0 / 0.5568 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.24e-05/0.2054, allocations: 47.92 kB / 0.5568 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/0.2063, allocations: 160.6 kB / 0.557 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2075, allocations: 0.5828 MB / 0.5576 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.208, allocations: 0.7561 MB / 0.5583 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.2082, allocations: 42.97 kB / 0.5583 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/0.2082, allocations: 23.44 kB / 0.5584 GB, free: 13.56 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2082, allocations: 0 / 0.5584 GB, free: 13.56 MB / 430.1 MB Notification: Performance of Templates: time 0.01121/0.2195, allocations: 4.886 MB / 0.5631 GB, free: 8.699 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTestImplementation.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.759829670190811]