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.0009031/0.0009031, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009203/0.0009203, allocations: 173 kB / 23.5 MB, free: 1.055 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.9865/0.9865, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.006052/0.006052, allocations: 1.031 MB / 261.3 MB, free: 12.16 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_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 3.887e-06/3.887e-06, allocations: 4 kB / 334.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.356e-05, allocations: 2.312 kB / 334.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003353/0.003386, allocations: 1.83 MB / 336 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004573, allocations: 0.5611 MB / 336.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.004719, allocations: 7.938 kB / 336.5 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.004954, allocations: 19.8 kB / 336.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.005057, allocations: 35.66 kB / 336.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.005464, allocations: 91.88 kB / 336.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.005775, allocations: 171.2 kB / 336.8 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.005968, allocations: 29.73 kB / 336.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.006144, allocations: 83.78 kB / 336.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.006245, allocations: 43.83 kB / 337 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.006278, allocations: 8 kB / 337 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.089e-05/0.006299, allocations: 12 kB / 337 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.00633, allocations: 19.92 kB / 337 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.006383, allocations: 43.84 kB / 337.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.006569, allocations: 83.66 kB / 337.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.006573, allocations: 8 kB / 337.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006574, allocations: 0 / 337.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.006581, allocations: 3.938 kB / 337.2 MB, free: 12.69 MB / 266.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.0005594/0.007141, allocations: 471.9 kB / 337.6 MB, free: 12.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.007181, allocations: 8.031 kB / 337.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.00725, allocations: 24.84 kB / 337.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.00746, allocations: 153.8 kB / 337.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.007478, allocations: 8.375 kB / 337.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.007509, allocations: 12.38 kB / 337.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.007746, allocations: 118.2 kB / 337.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.007756, allocations: 192 / 337.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.007773, allocations: 8.312 kB / 338 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.007784, allocations: 7.938 kB / 338 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.733e-05/0.007872, allocations: 31.11 kB / 338 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006931/0.008565, allocations: 0.5022 MB / 338.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.008692, allocations: 62.98 kB / 338.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.008736, allocations: 23.66 kB / 338.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.008752, allocations: 0 / 338.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.008773, allocations: 41.52 kB / 338.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.008774, allocations: 0 / 338.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002283/0.009003, allocations: 69.59 kB / 338.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.00903, allocations: 59.34 kB / 338.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.009175, allocations: 222.3 kB / 339 MB, free: 10.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.009185, allocations: 25.7 kB / 339 MB, free: 10.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.009244, allocations: 164.6 kB / 339.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.009266, allocations: 31.78 kB / 339.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.009319, allocations: 35.33 kB / 339.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.009381, allocations: 0.4923 MB / 339.7 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-05/0.009432, allocations: 15.98 kB / 339.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.559e-05/0.009488, allocations: 43.05 kB / 339.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.077e-05/0.009579, allocations: 62.88 kB / 339.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.009582, allocations: 0 / 339.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001597/0.009742, allocations: 97.56 kB / 339.9 MB, free: 9.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.009756, allocations: 8.062 kB / 339.9 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.009762, allocations: 0 / 339.9 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.009778, allocations: 0 / 339.9 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.009934, allocations: 27.98 kB / 340 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.00994, allocations: 0 / 340 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.102e-05/0.01, allocations: 19.83 kB / 340 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.01001, allocations: 4 kB / 340 MB, free: 9.633 MB / 266.7 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 6.778e-05/0.01008, allocations: 164.5 kB / 340.1 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.01011, allocations: 11.94 kB / 340.1 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.01014, allocations: 13.47 kB / 340.2 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01015, allocations: 4 kB / 340.2 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.01015, allocations: 0 / 340.2 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01015, allocations: 3.938 kB / 340.2 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.01049, allocations: 357 kB / 340.5 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01049, allocations: 0 / 340.5 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.0107, allocations: 32.22 kB / 340.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01071, allocations: 0 / 340.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01072, allocations: 8 kB / 340.6 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007256/0.01145, allocations: 1.813 MB / 342.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01145, allocations: 0 / 342.4 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.01162, allocations: 235.4 kB / 342.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.01166, allocations: 19.92 kB / 342.6 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.01168, allocations: 0 / 342.6 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.01178, allocations: 8 kB / 342.6 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.01183, allocations: 12.14 kB / 342.6 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.01183, allocations: 0 / 342.6 MB, free: 6.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.143e-05/0.0119, allocations: 155.2 kB / 342.8 MB, free: 6.617 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0119, allocations: 0 / 342.8 MB, free: 6.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002835/0.01219, allocations: 35.89 kB / 342.8 MB, free: 6.582 MB / 266.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 9.571e-05/0.01228, allocations: 99.23 kB / 342.9 MB, free: 6.473 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.01244, allocations: 43.61 kB / 343 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01244, allocations: 0 / 343 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.01259, allocations: 44.02 kB / 343 MB, free: 6.375 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.01301, allocations: 46.38 kB / 343.1 MB, free: 6.336 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008991/0.0139, allocations: 319.4 kB / 343.4 MB, free: 6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.01394, allocations: 71.16 kB / 343.4 MB, free: 5.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.01401, allocations: 12.97 kB / 343.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.01405, allocations: 16.5 kB / 343.5 MB, free: 5.879 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01406, allocations: 0 / 343.5 MB, free: 5.879 MB / 266.7 MB Notification: Performance of Templates: time 0.003411/0.01747, allocations: 1.576 MB / 345 MB, free: 4.363 MB / 266.7 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=240 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.807202451163903]