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.001368/0.001368, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.001445/0.001445, allocations: 190.4 kB / 22.1 MB, free: 5.152 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.812/1.812, allocations: 207.6 MB / 232.8 MB, free: 10.03 MB / 190.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.2942/0.2942, allocations: 55.66 MB / 340.7 MB, free: 13.99 MB / 286.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.002231/0.002231, allocations: 74.55 kB / 482.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.5184, allocations: 62.87 MB / 0.5322 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTestImplementation): time 0.01678/0.5351, allocations: 13.27 MB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.5388, allocations: 1.615 MB / 0.5467 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.5391, allocations: 7.625 kB / 0.5467 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007965/0.5399, allocations: 183.4 kB / 0.5469 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008462/0.5407, allocations: 324.1 kB / 0.5472 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.5413, allocations: 186.4 kB / 0.5474 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009958/0.5423, allocations: 0.6812 MB / 0.548 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.5426, allocations: 79.89 kB / 0.5481 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008218/0.5434, allocations: 361.7 kB / 0.5484 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.5439, allocations: 259.3 kB / 0.5487 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.608e-05/0.544, allocations: 21.09 kB / 0.5487 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.5441, allocations: 28.83 kB / 0.5487 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.5442, allocations: 71.59 kB / 0.5488 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.5445, allocations: 161.1 kB / 0.549 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007483/0.5452, allocations: 368.6 kB / 0.5493 GB, free: 12.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.5452, allocations: 1.188 kB / 0.5493 GB, free: 12.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5452, allocations: 0 / 0.5493 GB, free: 12.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.5453, allocations: 0 / 0.5493 GB, free: 12.02 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.001015/0.5463, allocations: 493 kB / 0.5498 GB, free: 11.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.5463, allocations: 14.03 kB / 0.5498 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000323/0.5467, allocations: 41.38 kB / 0.5498 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.5473, allocations: 215.2 kB / 0.55 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.5473, allocations: 23.19 kB / 0.5501 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.5474, allocations: 35.7 kB / 0.5501 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.548, allocations: 304.7 kB / 0.5504 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.548, allocations: 1.344 kB / 0.5504 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.548, allocations: 11.19 kB / 0.5504 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/0.5481, allocations: 10.39 kB / 0.5504 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.5484, allocations: 170 kB / 0.5506 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.5507, allocations: 1.776 MB / 0.5523 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.5509, allocations: 109 kB / 0.5524 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.551, allocations: 51.95 kB / 0.5525 GB, free: 9.422 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.5511, allocations: 11.28 kB / 0.5525 GB, free: 9.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.5511, allocations: 32.62 kB / 0.5525 GB, free: 9.375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.5511, allocations: 0 / 0.5525 GB, free: 9.375 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00137/0.5525, allocations: 499.3 kB / 0.553 GB, free: 9.055 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.5525, allocations: 58.19 kB / 0.553 GB, free: 8.988 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003859/0.5529, allocations: 274.1 kB / 0.5533 GB, free: 8.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.553, allocations: 31.73 kB / 0.5533 GB, free: 8.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.5532, allocations: 195.8 kB / 0.5535 GB, free: 8.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.5532, allocations: 61.36 kB / 0.5536 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.5533, allocations: 58.25 kB / 0.5536 GB, free: 8.539 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.5536, allocations: 341 kB / 0.554 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.5537, allocations: 61.69 kB / 0.554 GB, free: 8.188 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.5539, allocations: 158.5 kB / 0.5542 GB, free: 8.039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.5543, allocations: 240 kB / 0.5544 GB, free: 7.836 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5543, allocations: 1.375 kB / 0.5544 GB, free: 7.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005048/0.5548, allocations: 283.1 kB / 0.5547 GB, free: 7.699 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5548, allocations: 6.875 kB / 0.5547 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.5548, allocations: 7.531 kB / 0.5547 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.5549, allocations: 26.58 kB / 0.5547 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.5552, allocations: 69.53 kB / 0.5548 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.5565, allocations: 1.291 MB / 0.556 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.5567, allocations: 12.72 kB / 0.556 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.5567, allocations: 11 kB / 0.5561 GB, free: 6.363 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.0001876/0.5569, allocations: 150.8 kB / 0.5562 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.557, allocations: 24.23 kB / 0.5562 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.006e-05/0.557, allocations: 28.66 kB / 0.5562 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.557, allocations: 5.312 kB / 0.5563 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.557, allocations: 1.375 kB / 0.5563 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004296/0.5575, allocations: 464.8 kB / 0.5567 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/0.5585, allocations: 0.536 MB / 0.5572 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5585, allocations: 0.9375 kB / 0.5572 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.5586, allocations: 41.06 kB / 0.5573 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.5586, allocations: 5.719 kB / 0.5573 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.5587, allocations: 7.734 kB / 0.5573 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5587, allocations: 2.719 kB / 0.5573 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5587, allocations: 1.906 kB / 0.5573 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.5591, allocations: 338.9 kB / 0.5576 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.5592, allocations: 26.5 kB / 0.5576 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.5592, allocations: 15.14 kB / 0.5576 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.5594, allocations: 12.33 kB / 0.5577 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.5594, allocations: 10.19 kB / 0.5577 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.5595, allocations: 9.219 kB / 0.5577 GB, free: 4.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.5597, allocations: 201.7 kB / 0.5579 GB, free: 4.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5597, allocations: 4.062 kB / 0.5579 GB, free: 4.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.5601, allocations: 68.5 kB / 0.5579 GB, free: 4.867 MB / 414.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.0001566/0.5603, allocations: 98.41 kB / 0.558 GB, free: 4.773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005589/0.5609, allocations: 258.8 kB / 0.5583 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5609, allocations: 1.922 kB / 0.5583 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.561, allocations: 56.91 kB / 0.5583 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.562, allocations: 162.5 kB / 0.5585 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.5632, allocations: 0.5745 MB / 0.559 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.5636, allocations: 0.7541 MB / 0.5598 GB, free: 3.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.5638, allocations: 44.92 kB / 0.5598 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.5639, allocations: 25.83 kB / 0.5599 GB, free: 3.434 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.5639, allocations: 7.938 kB / 0.5599 GB, free: 3.426 MB / 414.1 MB Notification: Performance of Templates: time 0.01202/0.5759, allocations: 4.972 MB / 0.5647 GB, free: 1.324 MB / 414.1 MB " [Timeout remaining time 659] 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.949404877610505] Failed to read output from testmodel.py, exit status != 0: 0.5847453391179442 0.600549434 0.052136999 Calling exit ...