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.001622/0.001622, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001516/0.001516, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.001893/0.001893, allocations: 71.83 kB / 377.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2474, allocations: 53.41 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01784/0.2652, allocations: 14.67 MB / 445.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.2753, allocations: 6.276 MB / 452.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007358/0.276, allocations: 31.69 kB / 452.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009341/0.2769, allocations: 326 kB / 452.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.2797, allocations: 1.108 MB / 453.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004276/0.284, allocations: 1.816 MB / 455.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00269/0.2867, allocations: 2.218 MB / 457.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009082/0.2876, allocations: 0.5023 MB / 458.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.2891, allocations: 0.8488 MB / 458.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.2905, allocations: 0.8331 MB / 459.8 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.2907, allocations: 76 kB / 459.8 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.2928, allocations: 1.018 MB / 460.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003985/0.2932, allocations: 326.9 kB / 461.2 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.2937, allocations: 390.4 kB / 461.5 MB, free: 7.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.2964, allocations: 1.834 MB / 463.4 MB, free: 6.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2964, allocations: 4 kB / 463.4 MB, free: 6.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2964, allocations: 0 / 463.4 MB, free: 6.105 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.2964, allocations: 0 / 463.4 MB, free: 6.105 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.00277/0.2992, allocations: 1.224 MB / 464.6 MB, free: 4.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2992, allocations: 11.98 kB / 464.6 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.2993, allocations: 106.7 kB / 464.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000318/0.2997, allocations: 104.3 kB / 464.8 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.3008, allocations: 0.5556 MB / 465.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.3009, allocations: 164.1 kB / 465.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.301, allocations: 55.94 kB / 465.6 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.3027, allocations: 1.172 MB / 466.8 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3027, allocations: 4 kB / 466.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.3028, allocations: 23.98 kB / 466.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.304e-05/0.3029, allocations: 53.27 kB / 466.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.3043, allocations: 0.8365 MB / 467.7 MB, free: 1.613 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.005382/0.3097, allocations: 2.71 MB / 470.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3107, allocations: 0.6384 MB / 471 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005421/0.3113, allocations: 338.2 kB / 471.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002522/0.3138, allocations: 1.22 MB / 472.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.3138, allocations: 47.06 kB / 472.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.214e-06/0.3138, allocations: 0 / 472.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.00676/0.3206, allocations: 2.69 MB / 475.3 MB, free: 9.848 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.3207, allocations: 85.77 kB / 475.4 MB, free: 9.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009103/0.3216, allocations: 0.6953 MB / 476.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.3217, allocations: 41.7 kB / 476.1 MB, free: 8.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.3219, allocations: 337 kB / 476.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.3222, allocations: 238 kB / 476.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.3224, allocations: 154.5 kB / 476.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.3226, allocations: 386.8 kB / 477.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/0.3233, allocations: 368.6 kB / 477.6 MB, free: 7.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/0.324, allocations: 0.5481 MB / 478.1 MB, free: 6.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.3254, allocations: 0.8603 MB / 479 MB, free: 5.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3255, allocations: 0 / 479 MB, free: 5.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002088/0.3275, allocations: 1.157 MB / 480.2 MB, free: 4.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3276, allocations: 4 kB / 480.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.3276, allocations: 4 kB / 480.2 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.3288, allocations: 460.8 kB / 480.6 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.3295, allocations: 163.8 kB / 480.8 MB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.3308, allocations: 1.017 MB / 481.8 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.3313, allocations: 32.02 kB / 481.8 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.3314, allocations: 32 kB / 481.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008735/0.3323, allocations: 0.5292 MB / 482.4 MB, free: 2.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008169/0.3331, allocations: 0.5411 MB / 482.9 MB, free: 1.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001347/0.3344, allocations: 0.8493 MB / 483.8 MB, free: 1.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.3344, allocations: 0 / 483.8 MB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002111/0.3365, allocations: 1.103 MB / 484.9 MB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3366, allocations: 8 kB / 484.9 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3366, allocations: 7.938 kB / 484.9 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007187/0.3373, allocations: 312.9 kB / 485.2 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.3379, allocations: 167.7 kB / 485.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.339, allocations: 0.907 MB / 486.3 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005621/0.3395, allocations: 28.03 kB / 486.3 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.3396, allocations: 39.98 kB / 486.3 MB, free: 14.43 MB / 398.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.0003232/0.3399, allocations: 236.8 kB / 486.6 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.3401, allocations: 87.36 kB / 486.6 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.3422, allocations: 1.08 MB / 487.7 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.3422, allocations: 8 kB / 487.7 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.3422, allocations: 7.984 kB / 487.7 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3422, allocations: 0 / 487.7 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.3454, allocations: 1.84 MB / 489.6 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3454, allocations: 0 / 489.6 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005511/0.346, allocations: 119.9 kB / 489.7 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.3471, allocations: 447.8 kB / 490.1 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.3472, allocations: 19.98 kB / 490.2 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.3484, allocations: 1.035 MB / 491.2 MB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3484, allocations: 0 / 491.2 MB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.3509, allocations: 1.601 MB / 492.8 MB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.3514, allocations: 167.4 kB / 493 MB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.3515, allocations: 19.98 kB / 493 MB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.352, allocations: 31.86 kB / 493 MB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.3521, allocations: 60.55 kB / 493.1 MB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/0.3522, allocations: 27.98 kB / 493.1 MB, free: 7.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006216/0.3528, allocations: 475 kB / 493.6 MB, free: 7.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3528, allocations: 0 / 493.6 MB, free: 7.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001499/0.3543, allocations: 0.5927 MB / 494.1 MB, free: 6.5 MB / 398.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.003732/0.358, allocations: 2.515 MB / 496.7 MB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002802/0.3608, allocations: 1.326 MB / 498 MB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3608, allocations: 0 / 498 MB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009211/0.3617, allocations: 444.1 kB / 498.4 MB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.3635, allocations: 395.9 kB / 498.8 MB, free: 1.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.3758, allocations: 7.751 MB / 0.4947 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.3762, allocations: 400.7 kB / 0.4951 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001009/0.3772, allocations: 306.5 kB / 0.4954 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/0.3776, allocations: 283.3 kB / 0.4956 GB, free: 8.859 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3776, allocations: 0 / 0.4956 GB, free: 8.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08468/0.4623, allocations: 32.19 MB / 0.5271 GB, free: 8.961 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.03, allocations: 0 / 0.5271 GB, free: 8.961 MB / 446.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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00998801 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.825857277959585] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', 'tank2.ports[1].m_flow'] 14.174559021834284 14.37059969 14.071594575 Calling exit ...