Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.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.0008355/0.0008355, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008843/0.0008843, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8525/0.8525, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo): time 0.004316/0.004316, allocations: 1.016 MB / 261 MB, free: 12.33 MB / 250.7 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 387.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.72e-05, allocations: 6.219 kB / 387.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002087/0.002115, allocations: 1.778 MB / 388.9 MB, free: 8.633 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007684/0.002883, allocations: 0.5533 MB / 389.5 MB, free: 8.074 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.002949, allocations: 4 kB / 389.5 MB, free: 8.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.003081, allocations: 19.73 kB / 389.5 MB, free: 8.051 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.003131, allocations: 35.72 kB / 389.5 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.003361, allocations: 87.83 kB / 389.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.003542, allocations: 175.3 kB / 389.8 MB, free: 7.758 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.003663, allocations: 33.78 kB / 389.8 MB, free: 7.723 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.003759, allocations: 79.73 kB / 389.9 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.00383, allocations: 39.84 kB / 389.9 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.003861, allocations: 12 kB / 390 MB, free: 7.594 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.003878, allocations: 12 kB / 390 MB, free: 7.582 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.00391, allocations: 31.83 kB / 390 MB, free: 7.551 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.00395, allocations: 35.92 kB / 390 MB, free: 7.516 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.004105, allocations: 131.5 kB / 390.2 MB, free: 7.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004106, allocations: 0 / 390.2 MB, free: 7.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004107, allocations: 0 / 390.2 MB, free: 7.387 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.004111, allocations: 0 / 390.2 MB, free: 7.387 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005346/0.004646, allocations: 373.6 kB / 390.5 MB, free: 6.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.004678, allocations: 12.03 kB / 390.5 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.004714, allocations: 20.78 kB / 390.6 MB, free: 6.961 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.00487, allocations: 154.2 kB / 390.7 MB, free: 6.781 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.004882, allocations: 8.375 kB / 390.7 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.004905, allocations: 12.38 kB / 390.7 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.005081, allocations: 119.8 kB / 390.9 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005089, allocations: 4.188 kB / 390.9 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.0051, allocations: 4.359 kB / 390.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.005106, allocations: 7.938 kB / 390.9 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.005223, allocations: 67.95 kB / 390.9 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.005709, allocations: 436.2 kB / 391.4 MB, free: 6.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.005826, allocations: 66.53 kB / 391.4 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.005886, allocations: 44.95 kB / 391.5 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.005899, allocations: 0 / 391.5 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.005916, allocations: 30.56 kB / 391.5 MB, free: 5.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.005917, allocations: 0 / 391.5 MB, free: 5.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002717/0.006188, allocations: 125.5 kB / 391.6 MB, free: 5.801 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.006217, allocations: 59.39 kB / 391.7 MB, free: 5.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.006325, allocations: 166.8 kB / 391.8 MB, free: 5.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.006335, allocations: 25.7 kB / 391.9 MB, free: 5.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.00639, allocations: 124 kB / 392 MB, free: 5.402 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.006411, allocations: 27.78 kB / 392 MB, free: 5.375 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.006447, allocations: 25.72 kB / 392 MB, free: 5.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.057e-05/0.006517, allocations: 322.8 kB / 392.4 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.006575, allocations: 35.91 kB / 392.4 MB, free: 4.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.006709, allocations: 64.27 kB / 392.5 MB, free: 4.906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.006838, allocations: 108.1 kB / 392.6 MB, free: 4.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006839, allocations: 0 / 392.6 MB, free: 4.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001659/0.007005, allocations: 141.4 kB / 392.7 MB, free: 4.641 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.007018, allocations: 11.98 kB / 392.7 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.007022, allocations: 0 / 392.7 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.007033, allocations: 4.125 kB / 392.7 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.007188, allocations: 39.97 kB / 392.8 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006104/0.007798, allocations: 1.278 MB / 394 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.007844, allocations: 7.953 kB / 394 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.007851, allocations: 12.16 kB / 394 MB, free: 3.191 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.007919, allocations: 128.2 kB / 394.2 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.007938, allocations: 15.84 kB / 394.2 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.007953, allocations: 17.45 kB / 394.2 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.007955, allocations: 4 kB / 394.2 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.007956, allocations: 256 / 394.2 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.007958, allocations: 0 / 394.2 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.008376, allocations: 334.9 kB / 394.5 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008377, allocations: 4.031 kB / 394.5 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.008483, allocations: 27.97 kB / 394.6 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.008485, allocations: 4 kB / 394.6 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.008492, allocations: 0 / 394.6 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004953/0.008988, allocations: 1.286 MB / 395.9 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008989, allocations: 0 / 395.9 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.009196, allocations: 232.3 kB / 396.1 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.009223, allocations: 19.89 kB / 396.1 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-06/0.009231, allocations: 0 / 396.1 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.009279, allocations: 8 kB / 396.1 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.009317, allocations: 15.86 kB / 396.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.009321, allocations: 128 / 396.1 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.009378, allocations: 123.2 kB / 396.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009378, allocations: 0 / 396.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.009555, allocations: 31.94 kB / 396.3 MB, free: 0.7969 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (tank.l) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.57e-05/0.00963, allocations: 102.3 kB / 396.4 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.009865, allocations: 99.88 kB / 396.5 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.009866, allocations: 0 / 396.5 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.009973, allocations: 51.89 kB / 396.5 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.01025, allocations: 37.16 kB / 396.6 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.01068, allocations: 328.6 kB / 396.9 MB, free: 152 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.783e-05/0.01074, allocations: 101.4 kB / 397 MB, free: 24 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.01077, allocations: 16.5 kB / 397 MB, free: 8 kB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01077, allocations: 0 / 397 MB, free: 8 kB / 314.7 MB Notification: Performance of Templates: time 0.002704/0.01347, allocations: 2.147 MB / 399.1 MB, free: 13.87 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.411364342086017] Failed to read output from testmodel.py, exit status != 0: 0.018699076026678085 0.16655315499999995 0.02271215899999994 Calling exit ...