Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 209.3 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks") translateModel(Modelica.Fluid.Examples.Tanks.ThreeTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 47.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2123, allocations: 53.37 MB / 432.3 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.03039/0.2427, allocations: 26.39 MB / 458.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0197/0.2624, allocations: 13.53 MB / 472.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.2635, allocations: 59.5 kB / 472.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.2649, allocations: 0.5823 MB / 472.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005273/0.2702, allocations: 2.38 MB / 475.3 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008594/0.2788, allocations: 3.816 MB / 479.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005359/0.2841, allocations: 4.345 MB / 483.4 MB, free: 3.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.2855, allocations: 1.024 MB / 484.5 MB, free: 2.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.2877, allocations: 1.632 MB / 486.1 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.2901, allocations: 1.815 MB / 487.9 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002912/0.2904, allocations: 160 kB / 488.1 MB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/0.2942, allocations: 1.962 MB / 490 MB, free: 13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006611/0.2948, allocations: 0.6348 MB / 490.7 MB, free: 12.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008444/0.2957, allocations: 0.7392 MB / 491.4 MB, free: 11.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004602/0.3003, allocations: 3.66 MB / 495.1 MB, free: 7.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3003, allocations: 0 / 495.1 MB, free: 7.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3003, allocations: 0 / 495.1 MB, free: 7.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.3003, allocations: 3.938 kB / 495.1 MB, free: 7.945 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.005209/0.3055, allocations: 2.167 MB / 497.2 MB, free: 5.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3055, allocations: 12.03 kB / 497.2 MB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005676/0.3061, allocations: 179 kB / 497.4 MB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.3081, allocations: 1.002 MB / 498.4 MB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.3083, allocations: 264.1 kB / 498.7 MB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.3085, allocations: 95.97 kB / 498.8 MB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003361/0.3119, allocations: 2.22 MB / 0.4892 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.3119, allocations: 3.953 kB / 0.4892 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.3121, allocations: 39.97 kB / 0.4893 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001629/0.3123, allocations: 109.9 kB / 0.4894 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/0.3155, allocations: 1.792 MB / 0.4911 GB, free: 15.79 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.3269, allocations: 5.098 MB / 0.4961 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.3289, allocations: 1.172 MB / 0.4973 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.3302, allocations: 0.7065 MB / 0.498 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005321/0.3355, allocations: 2.42 MB / 0.5003 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.3355, allocations: 43.56 kB / 0.5004 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008084/0.3364, allocations: 191.2 kB / 0.5005 GB, free: 6.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.745e-06/0.3364, allocations: 0 / 0.5005 GB, free: 6.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.02/0.3564, allocations: 5.532 MB / 0.5059 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.3565, allocations: 141.5 kB / 0.5061 GB, free: 344 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.358, allocations: 1.032 MB / 0.5071 GB, free: 15.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002015/0.3582, allocations: 49.7 kB / 0.5071 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/0.3588, allocations: 0.6369 MB / 0.5078 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.3592, allocations: 412.5 kB / 0.5081 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005379/0.3597, allocations: 295.4 kB / 0.5084 GB, free: 13.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3598, allocations: 301.1 kB / 0.5087 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.3611, allocations: 0.7269 MB / 0.5094 GB, free: 12.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.3628, allocations: 1.139 MB / 0.5105 GB, free: 11.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.3656, allocations: 1.743 MB / 0.5122 GB, free: 9.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.3657, allocations: 4 kB / 0.5122 GB, free: 9.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00425/0.3699, allocations: 2.266 MB / 0.5145 GB, free: 7.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3699, allocations: 8 kB / 0.5145 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.3699, allocations: 8 kB / 0.5145 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008167/0.3781, allocations: 1.285 MB / 0.5157 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.3794, allocations: 299.5 kB / 0.516 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.382, allocations: 1.6 MB / 0.5176 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.3832, allocations: 59.95 kB / 0.5176 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.3833, allocations: 71.97 kB / 0.5177 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001695/0.385, allocations: 0.9723 MB / 0.5187 GB, free: 3.066 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001619/0.3866, allocations: 1.134 MB / 0.5198 GB, free: 1.766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002746/0.3894, allocations: 1.726 MB / 0.5214 GB, free: 15.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.091e-05/0.3894, allocations: 4 kB / 0.5214 GB, free: 15.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.003999/0.3934, allocations: 2.176 MB / 0.5236 GB, free: 13.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3934, allocations: 8 kB / 0.5236 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.3934, allocations: 12 kB / 0.5236 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007195/0.4006, allocations: 1.104 MB / 0.5247 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.4019, allocations: 307.5 kB / 0.525 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.404, allocations: 1.455 MB / 0.5264 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.4052, allocations: 63.91 kB / 0.5264 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.4053, allocations: 67.97 kB / 0.5265 GB, free: 10.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (tank3.inFlow[1],tank3.regularFlow[1],tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * 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 {(8,18)} Notification: Performance of prepare postOptimizeDAE: time 0.000403/0.4057, allocations: 275.8 kB / 0.5268 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.406, allocations: 135.2 kB / 0.5269 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/0.4104, allocations: 2.057 MB / 0.5289 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/0.4104, allocations: 7.969 kB / 0.5289 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4104, allocations: 0 / 0.5289 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007571/0.4112, allocations: 302.8 kB / 0.5292 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.4114, allocations: 24 kB / 0.5292 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009339/0.4123, allocations: 51.95 kB / 0.5293 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/0.4126, allocations: 97.12 kB / 0.5294 GB, free: 7.715 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004895/0.4175, allocations: 2.04 MB / 0.5314 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004119/0.4216, allocations: 2.502 MB / 0.5338 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001153/0.4227, allocations: 0.6855 MB / 0.5345 GB, free: 2.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009867/0.4237, allocations: 0.6749 MB / 0.5351 GB, free: 1.785 MB / 446.1 MB Notification: Performance of Backend: time 4.41e-07/0.4237, allocations: 0 / 0.5351 GB, free: 1.785 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1753/0.5991, allocations: 2.979 MB / 0.538 GB, free: 107.9 MB / 446.1 MB Notification: Performance of SimCode: time 0.004865/0.6039, allocations: 3.698 MB / 0.5417 GB, free: 106 MB / 446.1 MB Notification: Performance of Templates: time 0.05255/0.6565, allocations: 49.98 MB / 0.5905 GB, free: 62.03 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.212600676997681] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank2.level', 'tank2.medium.T', 'tank3.level', 'tank3.medium.T'] 0.6641598159985733 0.6729677150000001 0.370404096 Calling exit ...