Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.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.0007733/0.0007733, allocations: 83.64 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003341/0.003341, allocations: 162.7 kB / 24.69 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8553/0.8553, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 298.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.104e-05, allocations: 2.281 kB / 298.4 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.1225/0.1225, allocations: 14.47 MB / 312.9 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005723/0.1283, allocations: 6.221 MB / 319.1 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004407/0.1287, allocations: 33.44 kB / 319.1 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006831/0.1294, allocations: 331.6 kB / 319.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.1311, allocations: 1.127 MB / 320.6 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.1339, allocations: 1.905 MB / 322.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001797/0.1357, allocations: 2.176 MB / 324.7 MB, free: 456 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000518/0.1363, allocations: 0.5127 MB / 325.2 MB, free: 72 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.1374, allocations: 1.056 MB / 326.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007728/0.1382, allocations: 0.7784 MB / 327 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1383, allocations: 80.12 kB / 327.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.1395, allocations: 1.013 MB / 328.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002346/0.1398, allocations: 337.4 kB / 328.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.1401, allocations: 339.5 kB / 328.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.1419, allocations: 1.981 MB / 330.8 MB, free: 12.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1419, allocations: 4 kB / 330.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1419, allocations: 0 / 330.8 MB, free: 12.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.1419, allocations: 1.438 kB / 330.8 MB, free: 12.84 MB / 298.7 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.001796/0.1437, allocations: 1.214 MB / 332 MB, free: 11.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1437, allocations: 12.95 kB / 332 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.1438, allocations: 100.6 kB / 332.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.144, allocations: 102.8 kB / 332.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/0.1447, allocations: 0.5729 MB / 332.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.696e-05/0.1448, allocations: 158.9 kB / 332.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.1448, allocations: 60.58 kB / 333 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.1459, allocations: 1.18 MB / 334.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1459, allocations: 0 / 334.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.1459, allocations: 23.36 kB / 334.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/0.146, allocations: 55.52 kB / 334.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009289/0.1469, allocations: 0.8331 MB / 335.1 MB, free: 9.82 MB / 298.7 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.003218/0.1501, allocations: 2.745 MB / 337.8 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.1508, allocations: 0.622 MB / 338.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.1511, allocations: 343.9 kB / 338.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.1526, allocations: 1.216 MB / 340 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1526, allocations: 39.06 kB / 340 MB, free: 4.879 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 1.262e-06/0.1526, allocations: 4 kB / 340 MB, free: 4.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.003819/0.1564, allocations: 2.69 MB / 342.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1565, allocations: 81.77 kB / 342.8 MB, free: 2.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.157, allocations: 0.6954 MB / 343.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.157, allocations: 45.7 kB / 343.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.1572, allocations: 337 kB / 343.9 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.1573, allocations: 234 kB / 344.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.1575, allocations: 150.6 kB / 344.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1576, allocations: 386.7 kB / 344.6 MB, free: 196 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.158, allocations: 372.7 kB / 345 MB, free: 15.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.1584, allocations: 0.548 MB / 345.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008134/0.1592, allocations: 0.8642 MB / 346.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1592, allocations: 4.5 kB / 346.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001222/0.1605, allocations: 1.154 MB / 347.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1605, allocations: 11.94 kB / 347.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1605, allocations: 4 kB / 347.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007064/0.1612, allocations: 448.6 kB / 348 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.1615, allocations: 162.8 kB / 348.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007367/0.1623, allocations: 1.024 MB / 349.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.1625, allocations: 32.03 kB / 349.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.1626, allocations: 31.98 kB / 349.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005098/0.1631, allocations: 0.5331 MB / 349.8 MB, free: 10.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004394/0.1635, allocations: 0.5411 MB / 350.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007847/0.1643, allocations: 0.8416 MB / 351.2 MB, free: 9.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.1643, allocations: 0 / 351.2 MB, free: 9.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001157/0.1655, allocations: 1.103 MB / 352.3 MB, free: 8.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.1655, allocations: 12.06 kB / 352.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1655, allocations: 4 kB / 352.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003958/0.1659, allocations: 312.7 kB / 352.6 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.1662, allocations: 167.8 kB / 352.8 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006023/0.1668, allocations: 0.9073 MB / 353.7 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.167, allocations: 28.03 kB / 353.7 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.1671, allocations: 35.98 kB / 353.7 MB, free: 6.742 MB / 314.7 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.0001509/0.1672, allocations: 224.1 kB / 353.9 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.1673, allocations: 83.47 kB / 354 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.1686, allocations: 1.094 MB / 355.1 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1686, allocations: 15.94 kB / 355.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1686, allocations: 0 / 355.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1686, allocations: 3.984 kB / 355.1 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.1704, allocations: 1.84 MB / 357 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1704, allocations: 0 / 357 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.1707, allocations: 116.8 kB / 357.1 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006353/0.1714, allocations: 452.3 kB / 357.5 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.1714, allocations: 19.98 kB / 357.6 MB, free: 2.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007203/0.1721, allocations: 1.028 MB / 358.6 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1721, allocations: 2.891 kB / 358.6 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.1736, allocations: 1.597 MB / 360.2 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.1739, allocations: 171.4 kB / 360.4 MB, free: 0 / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.093e-05/0.1739, allocations: 12.95 kB / 360.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.1742, allocations: 35.97 kB / 360.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.1743, allocations: 56.55 kB / 360.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.1743, allocations: 31.92 kB / 360.5 MB, free: 15.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003738/0.1747, allocations: 483 kB / 361 MB, free: 15.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1747, allocations: 3.938 kB / 361 MB, free: 15.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009699/0.1757, allocations: 0.5849 MB / 361.5 MB, free: 14.8 MB / 330.7 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.002453/0.1781, allocations: 2.55 MB / 364.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.1797, allocations: 1.323 MB / 365.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1797, allocations: 0 / 365.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.1803, allocations: 447.3 kB / 365.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008981/0.1812, allocations: 392 kB / 366.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007413/0.1886, allocations: 7.672 MB / 373.9 MB, free: 2.207 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.1888, allocations: 412.7 kB / 374.3 MB, free: 1.777 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006175/0.1894, allocations: 302.6 kB / 374.6 MB, free: 1.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.1897, allocations: 284.4 kB / 374.9 MB, free: 1.195 MB / 330.7 MB Notification: Performance of SimCode: time 5.2e-07/0.1897, allocations: 0 / 374.9 MB, free: 1.195 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.2305, allocations: 32.27 MB / 407.2 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.329, allocations: 11.94 kB / 407.2 MB, free: 0.7852 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Fluid_Examples_Tanks_EmptyTanks_fmu --startTime=0 --stopTime=50 --stepSize=0.00998801 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Fluid_Examples_Tanks_EmptyTanks.fmu > Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.861149195581675] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', 'tank2.ports[1].m_flow'] 8.433483791537583 8.441777032 8.29822033 Calling exit ...