Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.ThreeTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 112.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Fluid.Examples.Tanks.ThreeTanks") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.88 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2145, allocations: 53.31 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.ThreeTanks): time 0.03235/0.2468, allocations: 29.32 MB / 461.4 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02081/0.2676, allocations: 15.11 MB / 476.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.2687, allocations: 47.69 kB / 476.5 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.2702, allocations: 0.594 MB / 477.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005202/0.2754, allocations: 2.345 MB / 479.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008112/0.2835, allocations: 3.731 MB / 483.2 MB, free: 4.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005012/0.2885, allocations: 4.163 MB / 487.4 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.2898, allocations: 1.023 MB / 488.4 MB, free: 14.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.292, allocations: 1.585 MB / 490 MB, free: 13.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/0.2945, allocations: 1.807 MB / 491.8 MB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002749/0.2947, allocations: 160 kB / 491.9 MB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004537/0.2993, allocations: 2.488 MB / 494.4 MB, free: 8.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006877/0.3, allocations: 0.6348 MB / 495 MB, free: 8.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009575/0.3009, allocations: 0.8789 MB / 495.9 MB, free: 7.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004925/0.3059, allocations: 3.793 MB / 499.7 MB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3059, allocations: 0 / 499.7 MB, free: 3.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3059, allocations: 0 / 499.7 MB, free: 3.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.3059, allocations: 0 / 499.7 MB, free: 3.508 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.005126/0.311, allocations: 2.246 MB / 0.4902 GB, free: 1.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.311, allocations: 8.031 kB / 0.4902 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005658/0.3116, allocations: 183 kB / 0.4904 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.3136, allocations: 1.078 MB / 0.4914 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.3137, allocations: 175 kB / 0.4916 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.314, allocations: 104 kB / 0.4917 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.317, allocations: 1.767 MB / 0.4934 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.317, allocations: 0 / 0.4934 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.3172, allocations: 47.97 kB / 0.4935 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/0.3173, allocations: 117.9 kB / 0.4936 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/0.3205, allocations: 1.8 MB / 0.4953 GB, free: 11.81 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.01197/0.3325, allocations: 6.725 MB / 0.5019 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.3345, allocations: 1.175 MB / 0.5031 GB, free: 3.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.3357, allocations: 0.7143 MB / 0.5038 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006304/0.342, allocations: 4.283 MB / 0.5079 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.342, allocations: 47.56 kB / 0.508 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007751/0.3428, allocations: 211 kB / 0.5082 GB, free: 13.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.284e-06/0.3428, allocations: 0 / 0.5082 GB, free: 13.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=112): time 0.01921/0.362, allocations: 5.694 MB / 0.5137 GB, free: 8.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.3621, allocations: 141.5 kB / 0.5139 GB, free: 7.973 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.3638, allocations: 1.257 MB / 0.5151 GB, free: 6.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.3639, allocations: 45.7 kB / 0.5151 GB, free: 6.656 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/0.3644, allocations: 0.6337 MB / 0.5158 GB, free: 6.016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/0.3648, allocations: 400.6 kB / 0.5161 GB, free: 5.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005118/0.3653, allocations: 295.4 kB / 0.5164 GB, free: 5.324 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3654, allocations: 305.1 kB / 0.5167 GB, free: 5.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.3667, allocations: 0.7153 MB / 0.5174 GB, free: 4.305 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.3683, allocations: 1.064 MB / 0.5185 GB, free: 3.102 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002809/0.3711, allocations: 1.751 MB / 0.5202 GB, free: 1.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3711, allocations: 0 / 0.5202 GB, free: 1.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004188/0.3753, allocations: 2.277 MB / 0.5224 GB, free: 14.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3753, allocations: 15.94 kB / 0.5224 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.3753, allocations: 16.56 kB / 0.5224 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007468/0.3828, allocations: 1.281 MB / 0.5237 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.3841, allocations: 299.5 kB / 0.524 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.3866, allocations: 1.603 MB / 0.5255 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3877, allocations: 55.97 kB / 0.5256 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.3879, allocations: 71.97 kB / 0.5256 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001673/0.3896, allocations: 0.9762 MB / 0.5266 GB, free: 10.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001575/0.3911, allocations: 1.059 MB / 0.5276 GB, free: 9.363 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002727/0.3939, allocations: 1.726 MB / 0.5293 GB, free: 7.496 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.688e-06/0.3939, allocations: 7.938 kB / 0.5293 GB, free: 7.488 MB / 446.1 MB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.003982/0.3978, allocations: 2.195 MB / 0.5315 GB, free: 5.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3979, allocations: 11.94 kB / 0.5315 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3979, allocations: 8 kB / 0.5315 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006601/0.4045, allocations: 1.096 MB / 0.5326 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.4057, allocations: 319.5 kB / 0.5329 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.4078, allocations: 1.446 MB / 0.5343 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.4089, allocations: 67.83 kB / 0.5343 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.4091, allocations: 71.97 kB / 0.5344 GB, free: 2.242 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.0003938/0.4095, allocations: 271.9 kB / 0.5347 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003202/0.4098, allocations: 155 kB / 0.5348 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1768/0.5866, allocations: 2.064 MB / 0.5368 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.541e-05/0.5866, allocations: 6.656 kB / 0.5368 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5866, allocations: 3.75 kB / 0.5368 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00098/0.5876, allocations: 402 kB / 0.5372 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.5878, allocations: 23.86 kB / 0.5373 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009805/0.5888, allocations: 61.03 kB / 0.5373 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.589, allocations: 96.39 kB / 0.5374 GB, free: 106.4 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004339/0.5934, allocations: 2.05 MB / 0.5394 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003353/0.5967, allocations: 2.527 MB / 0.5419 GB, free: 104.9 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009508/0.5977, allocations: 0.6792 MB / 0.5425 GB, free: 104.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009295/0.5986, allocations: 0.847 MB / 0.5434 GB, free: 104.3 MB / 446.1 MB Notification: Performance of Backend: time 4.3e-07/0.5986, allocations: 3.938 kB / 0.5434 GB, free: 104.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006437/0.605, allocations: 2.992 MB / 0.5463 GB, free: 103.6 MB / 446.1 MB Notification: Performance of SimCode: time 0.005415/0.6105, allocations: 3.787 MB / 0.55 GB, free: 101.6 MB / 446.1 MB Notification: Performance of Templates: time 0.08263/0.6931, allocations: 49.6 MB / 0.5984 GB, free: 54.11 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.ThreeTanks.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.ThreeTanks.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.ThreeTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.Tanks.ThreeTanks.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.1416319431737065] 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.7012043162249029 0.715595919 0.406544316 Calling exit ...