Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.0006786/0.0006786, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009416/0.00162, 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.0006946/0.0006946, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009287/0.001623, 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 0.9593/0.9593, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08838/1.048, allocations: 53.65 MB / 243.2 MB, free: 15.61 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.02408/0.02408, allocations: 1.041 MB / 245 MB, free: 13.95 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002179/0.02626, allocations: 0.7098 MB / 245.7 MB, free: 13.23 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.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.418e-05, allocations: 2.312 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.002066/0.00209, allocations: 1.77 MB / 248.9 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007242/0.002814, allocations: 0.5726 MB / 249.5 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.313e-05/0.002867, allocations: 4 kB / 249.5 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.85e-05/0.002956, allocations: 19.8 kB / 249.5 MB, free: 9.418 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.003001, allocations: 31.72 kB / 249.5 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.003146, allocations: 87.81 kB / 249.6 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.003297, allocations: 123.4 kB / 249.7 MB, free: 9.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.507e-05/0.003392, allocations: 29.94 kB / 249.8 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.978e-05/0.003482, allocations: 83.81 kB / 249.9 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.003556, allocations: 35.83 kB / 249.9 MB, free: 9.035 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.00358, allocations: 8 kB / 249.9 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.003593, allocations: 12 kB / 249.9 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.003613, allocations: 15.94 kB / 249.9 MB, free: 9 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.003645, allocations: 27.94 kB / 250 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003764, allocations: 71.62 kB / 250 MB, free: 8.902 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.003779, allocations: 0 / 250 MB, free: 8.902 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00378, allocations: 0 / 250 MB, free: 8.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.003795, allocations: 0 / 250 MB, free: 8.902 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004207/0.004216, allocations: 348 kB / 250.4 MB, free: 8.539 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.004244, allocations: 8.031 kB / 250.4 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.004278, allocations: 16.92 kB / 250.4 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.004407, allocations: 149.4 kB / 250.5 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.004416, allocations: 4.375 kB / 250.5 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.004437, allocations: 12.38 kB / 250.6 MB, free: 8.328 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.521e-05/0.004533, allocations: 84.78 kB / 250.6 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.00454, allocations: 4.172 kB / 250.6 MB, free: 8.227 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.004548, allocations: 4.375 kB / 250.6 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.004555, allocations: 7.938 kB / 250.6 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.004587, allocations: 19.92 kB / 250.7 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.004943, allocations: 404.3 kB / 251.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.005, allocations: 34.55 kB / 251.1 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/0.005015, allocations: 8.859 kB / 251.1 MB, free: 7.723 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.005022, allocations: 7.938 kB / 251.1 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.005042, allocations: 34.56 kB / 251.1 MB, free: 7.672 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.005042, allocations: 0 / 251.1 MB, free: 7.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.43e-05/0.005137, allocations: 49.67 kB / 251.2 MB, free: 7.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.005168, allocations: 51.41 kB / 251.2 MB, free: 7.555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.005251, allocations: 157.2 kB / 251.4 MB, free: 7.391 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.005261, allocations: 33.7 kB / 251.4 MB, free: 7.352 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.005305, allocations: 112.3 kB / 251.5 MB, free: 7.234 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.005319, allocations: 19.83 kB / 251.6 MB, free: 7.215 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.005349, allocations: 29.64 kB / 251.6 MB, free: 7.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.005421, allocations: 330.7 kB / 251.9 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.005431, allocations: 4 kB / 251.9 MB, free: 6.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/0.005456, allocations: 39.36 kB / 252 MB, free: 6.793 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.005498, allocations: 47.34 kB / 252 MB, free: 6.734 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005499, allocations: 4 kB / 252 MB, free: 6.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 6.097e-05/0.00556, allocations: 69.61 kB / 252.1 MB, free: 6.656 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005571, allocations: 8 kB / 252.1 MB, free: 6.648 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005576, allocations: 0 / 252.1 MB, free: 6.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.005584, allocations: 0 / 252.1 MB, free: 6.648 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.005738, allocations: 35.22 kB / 252.1 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.005741, allocations: 7.938 kB / 252.1 MB, free: 6.609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.005766, allocations: 7.953 kB / 252.1 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.00577, allocations: 12.03 kB / 252.1 MB, free: 6.59 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (11): * Single equations (assignments): 11 * 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 4.842e-05/0.005819, allocations: 109.8 kB / 252.3 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.005834, allocations: 7.984 kB / 252.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.005856, allocations: 12.34 kB / 252.3 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.005858, allocations: 4 kB / 252.3 MB, free: 6.449 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.00586, allocations: 0 / 252.3 MB, free: 6.449 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.005862, allocations: 0 / 252.3 MB, free: 6.449 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.006029, allocations: 223.5 kB / 252.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.00603, allocations: 0 / 252.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.006135, allocations: 32 kB / 252.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.006153, allocations: 7.953 kB / 252.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.00616, allocations: 4 kB / 252.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.006166, allocations: 4 kB / 252.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00051/0.006676, allocations: 1.211 MB / 253.8 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006677, allocations: 4.203 kB / 253.8 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.463e-05/0.006752, allocations: 156.3 kB / 253.9 MB, free: 4.684 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-06/0.00676, allocations: 11.88 kB / 253.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.399e-05/0.006794, allocations: 0 / 253.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.006804, allocations: 0 / 253.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.006807, allocations: 4 kB / 253.9 MB, free: 4.668 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.76e-05/0.006835, allocations: 37.47 kB / 254 MB, free: 4.629 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.006835, allocations: 0 / 254 MB, free: 4.629 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001342/0.006969, allocations: 19.95 kB / 254 MB, free: 4.609 MB / 250.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 (4): * Single equations (assignments): 3 * 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 6.78e-05/0.007037, allocations: 88.45 kB / 254.1 MB, free: 4.512 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.597e-05/0.007103, allocations: 40.75 kB / 254.1 MB, free: 4.469 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.007108, allocations: 4 kB / 254.1 MB, free: 4.465 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-05/0.007174, allocations: 29.06 kB / 254.1 MB, free: 4.434 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.007346, allocations: 37.5 kB / 254.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.009003, allocations: 269.3 kB / 254.4 MB, free: 4.105 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.226e-05/0.009046, allocations: 67.28 kB / 254.5 MB, free: 4.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.009089, allocations: 12.48 kB / 254.5 MB, free: 4.008 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.009154, allocations: 67.38 kB / 254.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.009155, allocations: 0 / 254.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of Templates: time 0.002721/0.01188, allocations: 1.499 MB / 256.1 MB, free: 2.508 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.548237026669085]