Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.001275/0.001275, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001313/0.001313, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 51.91 kB / 370.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3051, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01951/0.3246, allocations: 16.09 MB / 438.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.3356, allocations: 6.948 MB / 445.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000966/0.3366, allocations: 31.75 kB / 445.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.3378, allocations: 337.9 kB / 446 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.3408, allocations: 1.112 MB / 447.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004874/0.3457, allocations: 1.843 MB / 449 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003766/0.3495, allocations: 2.23 MB / 451.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.3505, allocations: 0.5141 MB / 451.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.352, allocations: 0.8294 MB / 452.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.3533, allocations: 0.8642 MB / 453.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.3535, allocations: 76 kB / 453.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.3565, allocations: 1.236 MB / 454.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004359/0.3569, allocations: 323 kB / 455 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006069/0.3575, allocations: 457.9 kB / 455.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.3609, allocations: 1.85 MB / 457.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.361, allocations: 0 / 457.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.361, allocations: 0 / 457.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.361, allocations: 8 kB / 457.3 MB, free: 11.74 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.003778/0.3648, allocations: 1.231 MB / 458.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.3648, allocations: 8.031 kB / 458.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.365, allocations: 106.7 kB / 458.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/0.3653, allocations: 96.41 kB / 458.8 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.3665, allocations: 0.5593 MB / 459.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.3666, allocations: 164.1 kB / 459.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.3668, allocations: 55.98 kB / 459.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.3684, allocations: 0.8962 MB / 460.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.3684, allocations: 0 / 460.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.285e-05/0.3685, allocations: 23.98 kB / 460.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-05/0.3686, allocations: 49.28 kB / 460.5 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.3701, allocations: 0.8405 MB / 461.4 MB, free: 7.602 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.006043/0.3762, allocations: 3.326 MB / 464.7 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.3773, allocations: 0.6296 MB / 465.3 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.3779, allocations: 342.2 kB / 465.7 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002816/0.3807, allocations: 1.345 MB / 467 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.3807, allocations: 39.06 kB / 467 MB, free: 1.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.255e-06/0.3807, allocations: 0 / 467 MB, free: 1.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.007151/0.3879, allocations: 2.696 MB / 469.7 MB, free: 15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.3879, allocations: 85.77 kB / 469.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009318/0.3889, allocations: 0.6799 MB / 470.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.3889, allocations: 37.7 kB / 470.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.3892, allocations: 345.1 kB / 470.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.3894, allocations: 241.9 kB / 471.1 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.3897, allocations: 146.6 kB / 471.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.3899, allocations: 386.8 kB / 471.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/0.3906, allocations: 376.6 kB / 472 MB, free: 12.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000794/0.3914, allocations: 0.5152 MB / 472.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.3928, allocations: 0.8642 MB / 473.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3928, allocations: 0 / 473.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002154/0.3949, allocations: 1.165 MB / 474.5 MB, free: 10 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3949, allocations: 8 kB / 474.5 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3949, allocations: 4 kB / 474.6 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.3963, allocations: 448.5 kB / 475 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.397, allocations: 163.8 kB / 475.1 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.3983, allocations: 1.02 MB / 476.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.3988, allocations: 32.03 kB / 476.2 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/0.3989, allocations: 35.98 kB / 476.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008533/0.3998, allocations: 0.5292 MB / 476.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007644/0.4005, allocations: 0.5198 MB / 477.3 MB, free: 7.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001304/0.4018, allocations: 0.8493 MB / 478.1 MB, free: 6.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.96e-06/0.4018, allocations: 4 kB / 478.1 MB, free: 6.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001967/0.4038, allocations: 1.095 MB / 479.2 MB, free: 5.145 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4038, allocations: 11.98 kB / 479.2 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4038, allocations: 4 kB / 479.2 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007653/0.4046, allocations: 312.8 kB / 479.6 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/0.4053, allocations: 167.8 kB / 479.7 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.4066, allocations: 0.9112 MB / 480.6 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/0.4073, allocations: 32.03 kB / 480.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.4074, allocations: 35.98 kB / 480.7 MB, free: 3.652 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.0003901/0.4078, allocations: 224.1 kB / 480.9 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.408, allocations: 83.47 kB / 481 MB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.4102, allocations: 1.076 MB / 482.1 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4102, allocations: 8 kB / 482.1 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4102, allocations: 0 / 482.1 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.4103, allocations: 3.984 kB / 482.1 MB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/0.4138, allocations: 1.984 MB / 484.1 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.4138, allocations: 0 / 484.1 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.4144, allocations: 115.8 kB / 484.2 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.4157, allocations: 448.5 kB / 484.6 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.4158, allocations: 15.98 kB / 484.6 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.4171, allocations: 1.035 MB / 485.7 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4171, allocations: 4 kB / 485.7 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/0.4198, allocations: 1.589 MB / 487.3 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/0.4203, allocations: 171.4 kB / 487.4 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.4204, allocations: 8 kB / 487.4 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.421, allocations: 43.91 kB / 487.5 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.4211, allocations: 56.55 kB / 487.5 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/0.4212, allocations: 31.97 kB / 487.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006721/0.4219, allocations: 479 kB / 488 MB, free: 12.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4219, allocations: 0 / 488 MB, free: 12.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001557/0.4234, allocations: 0.5925 MB / 488.6 MB, free: 11.6 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.004117/0.4275, allocations: 2.51 MB / 491.1 MB, free: 9.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.4306, allocations: 1.327 MB / 492.5 MB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4306, allocations: 0 / 492.5 MB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009481/0.4316, allocations: 451.4 kB / 492.9 MB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.4334, allocations: 396.3 kB / 493.3 MB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.4461, allocations: 7.756 MB / 0.4893 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.4468, allocations: 0.9949 MB / 0.4903 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.4478, allocations: 310.5 kB / 0.4906 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/0.4483, allocations: 283.3 kB / 0.4908 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4483, allocations: 0 / 0.4908 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08746/0.5357, allocations: 31.71 MB / 0.5218 GB, free: 13.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/14.94, allocations: 9.906 kB / 0.5218 GB, free: 13.91 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.62160742099877] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', 'tank2.ports[1].m_flow'] 15.073735120000492 15.284699827 14.736123375 Calling exit ...