Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.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.001378/0.001378, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001558/0.001558, allocations: 165 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.414/1.414, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.007732/0.007732, allocations: 1.043 MB / 260.2 MB, free: 15.74 MB / 254.1 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_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 386.4 MB, free: 208 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.854e-05, allocations: 6.219 kB / 386.4 MB, free: 200 kB / 302.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003152/0.00318, allocations: 1.77 MB / 388.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.004297, allocations: 0.5416 MB / 388.7 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.745e-05/0.004384, allocations: 11.94 kB / 388.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.004555, allocations: 19.8 kB / 388.7 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.714e-05/0.004642, allocations: 39.64 kB / 388.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.004925, allocations: 83.89 kB / 388.9 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.005183, allocations: 163.3 kB / 389 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.005323, allocations: 37.78 kB / 389.1 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.005458, allocations: 75.8 kB / 389.1 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.535e-05/0.005543, allocations: 39.83 kB / 389.2 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.005574, allocations: 12 kB / 389.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.378e-05/0.005598, allocations: 12 kB / 389.2 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.005634, allocations: 23.91 kB / 389.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.005702, allocations: 39.86 kB / 389.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.005917, allocations: 135.5 kB / 389.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.005921, allocations: 0 / 389.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005922, allocations: 0 / 389.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.005928, allocations: 0 / 389.4 MB, free: 13.18 MB / 318.1 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.0007581/0.006686, allocations: 365.7 kB / 389.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.006723, allocations: 8.031 kB / 389.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.006772, allocations: 24.83 kB / 389.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.007026, allocations: 155.6 kB / 389.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.007046, allocations: 12.31 kB / 389.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.007079, allocations: 12.38 kB / 389.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.007367, allocations: 123.9 kB / 390.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.007377, allocations: 192 / 390.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.007389, allocations: 384 / 390.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.007402, allocations: 7.938 kB / 390.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.007651, allocations: 71.89 kB / 390.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/0.008457, allocations: 436.2 kB / 390.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.008667, allocations: 66.48 kB / 390.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.008792, allocations: 32.97 kB / 390.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.008811, allocations: 4 kB / 390.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.008842, allocations: 34.56 kB / 390.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.008843, allocations: 0 / 390.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004602/0.009304, allocations: 125.5 kB / 390.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.009345, allocations: 51.41 kB / 390.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.009527, allocations: 174.7 kB / 391.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.009546, allocations: 25.7 kB / 391.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.009643, allocations: 123.9 kB / 391.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.00967, allocations: 27.8 kB / 391.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.009727, allocations: 29.7 kB / 391.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.009879, allocations: 322.8 kB / 391.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.01, allocations: 31.98 kB / 391.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.01014, allocations: 54.55 kB / 391.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.01038, allocations: 86.47 kB / 391.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01038, allocations: 4 kB / 391.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003457/0.01073, allocations: 141.4 kB / 391.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.01075, allocations: 4 kB / 391.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.01076, allocations: 4 kB / 391.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.01078, allocations: 0 / 391.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.01097, allocations: 27.98 kB / 391.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01097, allocations: 0 / 391.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.01107, allocations: 27.94 kB / 391.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.01108, allocations: 256 / 391.9 MB, free: 10.42 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.0112, allocations: 129.7 kB / 392.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.01123, allocations: 7.953 kB / 392.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.01127, allocations: 17.45 kB / 392.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.01127, allocations: 4 kB / 392.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01128, allocations: 0 / 392.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01128, allocations: 3.938 kB / 392.1 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.01184, allocations: 335 kB / 392.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01184, allocations: 0 / 392.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.01209, allocations: 31.97 kB / 392.5 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.0121, allocations: 0 / 392.5 MB, free: 9.859 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01211, allocations: 4 kB / 392.5 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.01326, allocations: 1.278 MB / 393.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.01326, allocations: 0 / 393.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.0137, allocations: 244.2 kB / 394 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.01374, allocations: 7.984 kB / 394 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.01376, allocations: 7.984 kB / 394 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.01387, allocations: 11.92 kB / 394 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.01393, allocations: 11.92 kB / 394 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.01394, allocations: 8.156 kB / 394 MB, free: 8.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.01405, allocations: 115.2 kB / 394.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01405, allocations: 4 kB / 394.1 MB, free: 8.055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.01433, allocations: 31.89 kB / 394.2 MB, free: 8.023 MB / 318.1 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 0.0002771/0.01461, allocations: 98.2 kB / 394.3 MB, free: 7.918 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.01491, allocations: 84 kB / 394.4 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01491, allocations: 128 / 394.4 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.01512, allocations: 47.97 kB / 394.4 MB, free: 7.789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.01558, allocations: 46.44 kB / 394.4 MB, free: 7.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.01619, allocations: 290.8 kB / 394.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.01629, allocations: 101.3 kB / 394.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.292e-05/0.01636, allocations: 12.98 kB / 394.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.01641, allocations: 12.5 kB / 394.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.01641, allocations: 0 / 394.9 MB, free: 7.285 MB / 318.1 MB Notification: Performance of Templates: time 0.005108/0.02151, allocations: 1.562 MB / 396.4 MB, free: 5.785 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD -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_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.188940595835447] Failed to read output from testmodel.py, exit status != 0: 0.03096483275294304 0.045975313000000004 0.036968139000000004 Calling exit ...