Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.001526/0.001526, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.001913/0.001913, allocations: 208.9 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 59.91 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1051, allocations: 53.32 MB / 426.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01817/0.1233, allocations: 16.08 MB / 442.7 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1989/0.3223, allocations: 6.918 MB / 449.6 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006389/0.3229, allocations: 22.94 kB / 449.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.3237, allocations: 339.5 kB / 450 MB, free: 7.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.3263, allocations: 1.106 MB / 451.1 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004671/0.331, allocations: 1.786 MB / 452.9 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003137/0.3341, allocations: 2.16 MB / 455.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/0.3352, allocations: 0.5319 MB / 455.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.3369, allocations: 0.8161 MB / 456.4 MB, free: 7.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.3386, allocations: 0.8516 MB / 457.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.3388, allocations: 80.31 kB / 457.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.342, allocations: 1.261 MB / 458.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006114/0.3426, allocations: 326.4 kB / 458.9 MB, free: 7.113 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008242/0.3435, allocations: 460.8 kB / 459.4 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.3476, allocations: 1.885 MB / 461.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3477, allocations: 0 / 461.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3477, allocations: 3.938 kB / 461.2 MB, free: 6.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.133e-05/0.3477, allocations: 4 kB / 461.3 MB, free: 6.758 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003693/0.3514, allocations: 1.3 MB / 462.6 MB, free: 6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.3514, allocations: 9.844 kB / 462.6 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.3516, allocations: 103 kB / 462.7 MB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/0.352, allocations: 100.6 kB / 462.8 MB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.3532, allocations: 0.6308 MB / 463.4 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.3533, allocations: 104.3 kB / 463.5 MB, free: 5.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.3534, allocations: 62.16 kB / 463.6 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.355, allocations: 0.893 MB / 464.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.355, allocations: 9.141 kB / 464.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.754e-05/0.3551, allocations: 20.7 kB / 464.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-05/0.3552, allocations: 50.22 kB / 464.5 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.3566, allocations: 0.8431 MB / 465.4 MB, free: 5.18 MB / 366.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.005739/0.3624, allocations: 3.463 MB / 468.8 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000945/0.3633, allocations: 0.6287 MB / 469.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004724/0.3638, allocations: 343.4 kB / 469.8 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002859/0.3666, allocations: 2.029 MB / 471.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3667, allocations: 42.66 kB / 471.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.235e-06/0.3667, allocations: 0 / 471.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00725/0.3739, allocations: 2.845 MB / 474.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.374, allocations: 85.39 kB / 474.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.3751, allocations: 0.676 MB / 475.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.3752, allocations: 41.34 kB / 475.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.3755, allocations: 345.8 kB / 475.8 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.3758, allocations: 241.3 kB / 476.1 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/0.3761, allocations: 147.5 kB / 476.2 MB, free: 14.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002637/0.3763, allocations: 389.2 kB / 476.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.377, allocations: 375.2 kB / 477 MB, free: 13.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007711/0.3778, allocations: 0.5113 MB / 477.5 MB, free: 13.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.3792, allocations: 0.867 MB / 478.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.3793, allocations: 2.156 kB / 478.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002445/0.3817, allocations: 1.163 MB / 479.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.3817, allocations: 7.656 kB / 479.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3817, allocations: 4.625 kB / 479.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.3831, allocations: 442.5 kB / 480 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/0.3838, allocations: 163.5 kB / 480.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.3852, allocations: 1.025 MB / 481.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009381/0.3861, allocations: 28.69 kB / 481.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.3862, allocations: 36.8 kB / 481.2 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001148/0.3874, allocations: 0.5317 MB / 481.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008148/0.3882, allocations: 0.5043 MB / 482.2 MB, free: 10.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001361/0.3896, allocations: 0.8533 MB / 483.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.821e-06/0.3896, allocations: 1.625 kB / 483.1 MB, free: 9.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002131/0.3917, allocations: 1.098 MB / 484.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3917, allocations: 15.36 kB / 484.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3917, allocations: 8.781 kB / 484.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007778/0.3925, allocations: 310.5 kB / 484.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/0.3932, allocations: 169.9 kB / 484.7 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.3944, allocations: 0.9095 MB / 485.6 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.3953, allocations: 33.78 kB / 485.6 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.78e-05/0.3954, allocations: 33.52 kB / 485.7 MB, free: 8.355 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (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 (84): * Single equations (assignments): 83 * 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 {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004328/0.3958, allocations: 224.5 kB / 485.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.396, allocations: 81.98 kB / 486 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.3984, allocations: 1.086 MB / 487.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.3984, allocations: 10.81 kB / 487.1 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3984, allocations: 0 / 487.1 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3984, allocations: 5.859 kB / 487.1 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003603/0.402, allocations: 2.003 MB / 489.1 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.402, allocations: 0.6875 kB / 489.1 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/0.4026, allocations: 118.2 kB / 489.2 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/0.4038, allocations: 438.3 kB / 489.6 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/0.4039, allocations: 17.61 kB / 489.6 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.4051, allocations: 1.037 MB / 490.7 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4051, allocations: 3.938 kB / 490.7 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.4078, allocations: 1.6 MB / 492.3 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006283/0.4084, allocations: 248.5 kB / 492.5 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.4086, allocations: 16 kB / 492.5 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.4092, allocations: 35.97 kB / 492.6 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.4093, allocations: 56.58 kB / 492.6 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-05/0.4094, allocations: 27.92 kB / 492.7 MB, free: 3.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007496/0.4102, allocations: 479 kB / 493.1 MB, free: 3.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4102, allocations: 0 / 493.1 MB, free: 3.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002292/0.4125, allocations: 0.6004 MB / 493.7 MB, free: 2.715 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004629/0.4171, allocations: 2.518 MB / 496.2 MB, free: 200 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003393/0.4205, allocations: 1.333 MB / 497.6 MB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4205, allocations: 4 kB / 497.6 MB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.4215, allocations: 439.1 kB / 498 MB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.4237, allocations: 390.9 kB / 498.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/0.4395, allocations: 7.746 MB / 0.4943 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000774/0.4402, allocations: 0.995 MB / 0.4952 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001141/0.4414, allocations: 310.5 kB / 0.4955 GB, free: 4.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/0.4419, allocations: 279.3 kB / 0.4958 GB, free: 4.531 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4419, allocations: 0 / 0.4958 GB, free: 4.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07748/0.5194, allocations: 31.06 MB / 0.5261 GB, free: 5.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.11, allocations: 6.672 kB / 0.5261 GB, free: 5.621 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat --tempDir=temp_Modelica_trunk_Modelica_Fluid_Examples_Tanks_EmptyTanks_fmu --startTime=0 --stopTime=50 --stepSize=0.00998801 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Fluid_Examples_Tanks_EmptyTanks.fmu > Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.739778021816164] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', 'tank2.ports[1].m_flow'] 14.219977330882102 14.234505448 13.883447691 Calling exit ...