Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_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.0006448/0.0006448, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009758/0.001621, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001013/0.001013, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002244, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.016/1.016, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09736/1.114, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.005201/0.005201, allocations: 1.027 MB / 245 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005198/0.0104, allocations: 0.7286 MB / 245.7 MB, free: 13.21 MB / 250.7 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-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.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 247.2 MB, free: 11.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.097e-05, allocations: 2.312 kB / 247.2 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.008878/0.008899, allocations: 2.057 MB / 249.2 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.0101, allocations: 0.6038 MB / 249.8 MB, free: 9.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.01021, allocations: 3.938 kB / 249.8 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.01033, allocations: 27.73 kB / 249.8 MB, free: 9.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.997e-05/0.01042, allocations: 43.59 kB / 249.9 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.01068, allocations: 99.78 kB / 250 MB, free: 8.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.01097, allocations: 179.3 kB / 250.2 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.01111, allocations: 42.44 kB / 250.2 MB, free: 8.703 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.01127, allocations: 111.7 kB / 250.3 MB, free: 8.594 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.843e-05/0.01137, allocations: 43.81 kB / 250.4 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.0114, allocations: 12 kB / 250.4 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.989e-05/0.01142, allocations: 12 kB / 250.4 MB, free: 8.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.01145, allocations: 23.88 kB / 250.4 MB, free: 8.504 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.0115, allocations: 43.88 kB / 250.4 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006202/0.0177, allocations: 103.5 kB / 250.5 MB, free: 8.359 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.01772, allocations: 0 / 250.5 MB, free: 8.359 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01772, allocations: 0 / 250.5 MB, free: 8.359 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.01773, allocations: 0 / 250.5 MB, free: 8.359 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000519/0.01825, allocations: 399.7 kB / 250.9 MB, free: 7.945 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.01828, allocations: 8.031 kB / 250.9 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.01833, allocations: 16.92 kB / 251 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.0185, allocations: 157.5 kB / 251.1 MB, free: 7.742 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.01852, allocations: 8.375 kB / 251.1 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.01854, allocations: 16.31 kB / 251.1 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.0187, allocations: 121.1 kB / 251.3 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.01871, allocations: 192 / 251.3 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.01872, allocations: 12.36 kB / 251.3 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.01873, allocations: 3.938 kB / 251.3 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.294e-05/0.01878, allocations: 23.98 kB / 251.3 MB, free: 7.547 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.01923, allocations: 375.9 kB / 251.7 MB, free: 7.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/0.01933, allocations: 50.55 kB / 251.7 MB, free: 7.102 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.01936, allocations: 20.84 kB / 251.7 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.01937, allocations: 8.125 kB / 251.7 MB, free: 7.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.0194, allocations: 34.56 kB / 251.8 MB, free: 7.027 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.0194, allocations: 0 / 251.8 MB, free: 7.027 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001415/0.01954, allocations: 69.61 kB / 251.8 MB, free: 6.953 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.01958, allocations: 55.41 kB / 251.9 MB, free: 6.887 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.01969, allocations: 185.3 kB / 252.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.0197, allocations: 29.7 kB / 252.1 MB, free: 6.656 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.01975, allocations: 124.3 kB / 252.2 MB, free: 6.531 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.01978, allocations: 39.67 kB / 252.3 MB, free: 6.492 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.01983, allocations: 37.69 kB / 252.3 MB, free: 6.449 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.01991, allocations: 326.8 kB / 252.6 MB, free: 6.121 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.01994, allocations: 8 kB / 252.6 MB, free: 6.113 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.628e-05/0.01997, allocations: 34.56 kB / 252.7 MB, free: 6.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.172e-05/0.02004, allocations: 66.06 kB / 252.7 MB, free: 6 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.02005, allocations: 0 / 252.7 MB, free: 6 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001037/0.02015, allocations: 93.59 kB / 252.8 MB, free: 5.902 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.02016, allocations: 4 kB / 252.8 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.02016, allocations: 0 / 252.8 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.02017, allocations: 4 kB / 252.8 MB, free: 5.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.02039, allocations: 57.33 kB / 252.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.0204, allocations: 7.938 kB / 252.9 MB, free: 5.836 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.02044, allocations: 15.89 kB / 252.9 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.02045, allocations: 0 / 252.9 MB, free: 5.82 MB / 250.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 (18): * Single equations (assignments): 18 * 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.006086/0.02653, allocations: 117.9 kB / 253 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.02656, allocations: 11.98 kB / 253 MB, free: 5.684 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/0.0266, allocations: 17.45 kB / 253.1 MB, free: 5.668 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.0266, allocations: 4 kB / 253.1 MB, free: 5.664 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.0266, allocations: 3.938 kB / 253.1 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.02661, allocations: 0 / 253.1 MB, free: 5.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.02692, allocations: 251.6 kB / 253.3 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.02692, allocations: 0 / 253.3 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.02712, allocations: 43.94 kB / 253.4 MB, free: 5.344 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.02716, allocations: 19.84 kB / 253.4 MB, free: 5.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.02716, allocations: 3.938 kB / 253.4 MB, free: 5.32 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.02718, allocations: 8 kB / 253.4 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007611/0.02794, allocations: 1.203 MB / 254.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02794, allocations: 4.125 kB / 254.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.02809, allocations: 188.6 kB / 254.8 MB, free: 3.82 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.02811, allocations: 4 kB / 254.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.02819, allocations: 4 kB / 254.8 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.02822, allocations: 3.984 kB / 254.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.02823, allocations: 7.938 kB / 254.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.046e-05/0.02828, allocations: 45.66 kB / 254.8 MB, free: 3.754 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02828, allocations: 0 / 254.8 MB, free: 3.754 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.02851, allocations: 27.95 kB / 254.9 MB, free: 3.727 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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 8.84e-05/0.0286, allocations: 84.45 kB / 254.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.02871, allocations: 60.84 kB / 255 MB, free: 3.57 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.02872, allocations: 0 / 255 MB, free: 3.57 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.02884, allocations: 45.06 kB / 255.1 MB, free: 3.523 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.02912, allocations: 61.86 kB / 255.1 MB, free: 3.465 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008413/0.03754, allocations: 339.3 kB / 255.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.152e-05/0.03758, allocations: 68.05 kB / 255.5 MB, free: 3.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.03763, allocations: 17.48 kB / 255.5 MB, free: 3 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.226e-05/0.03773, allocations: 79.3 kB / 255.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03773, allocations: 0 / 255.6 MB, free: 2.922 MB / 250.7 MB Notification: Performance of Templates: time 0.01635/0.05408, allocations: 1.994 MB / 257.6 MB, free: 1.004 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_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.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5908294888213277]