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.001311/0.001311, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.001414/0.001414, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.007786/0.007786, allocations: 1.032 MB / 260.8 MB, free: 15.71 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.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: BoundaryInitBlocks requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 63.91 kB / 386.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08959, allocations: 53.64 MB / 440.5 MB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003242/0.09283, allocations: 1.923 MB / 442.4 MB, free: 9.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.09388, allocations: 0.5766 MB / 443 MB, free: 9.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.09396, allocations: 4 kB / 443 MB, free: 9.215 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.09409, allocations: 19.73 kB / 443 MB, free: 9.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.454e-05/0.09417, allocations: 47.66 kB / 443.1 MB, free: 9.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.09441, allocations: 91.86 kB / 443.2 MB, free: 9.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.09466, allocations: 187.3 kB / 443.3 MB, free: 8.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.09479, allocations: 36.14 kB / 443.4 MB, free: 8.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.115e-05/0.09488, allocations: 71.64 kB / 443.5 MB, free: 8.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.09499, allocations: 55.64 kB / 443.5 MB, free: 8.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.09501, allocations: 12 kB / 443.5 MB, free: 8.703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-05/0.09504, allocations: 12 kB / 443.5 MB, free: 8.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.525e-05/0.09507, allocations: 27.92 kB / 443.6 MB, free: 8.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.139e-05/0.09515, allocations: 63.66 kB / 443.6 MB, free: 8.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.09534, allocations: 155.2 kB / 443.8 MB, free: 8.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.09535, allocations: 7.984 kB / 443.8 MB, free: 8.441 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.09535, allocations: 0 / 443.8 MB, free: 8.441 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.09536, allocations: 0 / 443.8 MB, free: 8.441 MB / 414.1 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.0005976/0.09595, allocations: 393.4 kB / 444.2 MB, free: 8.027 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.09598, allocations: 8.031 kB / 444.2 MB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.09603, allocations: 24.73 kB / 444.2 MB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.09628, allocations: 158.3 kB / 444.4 MB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.0963, allocations: 12.38 kB / 444.4 MB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.09633, allocations: 16.31 kB / 444.4 MB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.09659, allocations: 131.7 kB / 444.5 MB, free: 7.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.0966, allocations: 3.984 kB / 444.5 MB, free: 7.645 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.09661, allocations: 4 kB / 444.5 MB, free: 7.641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.09662, allocations: 4 kB / 444.5 MB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.09678, allocations: 59.97 kB / 444.6 MB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007231/0.0975, allocations: 464.2 kB / 445 MB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.09769, allocations: 82.55 kB / 445.1 MB, free: 7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.821e-05/0.09778, allocations: 40.97 kB / 445.2 MB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.0978, allocations: 4 kB / 445.2 MB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.09783, allocations: 34.56 kB / 445.2 MB, free: 6.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.09783, allocations: 0 / 445.2 MB, free: 6.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003187/0.09815, allocations: 133.4 kB / 445.3 MB, free: 6.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.09819, allocations: 59.41 kB / 445.4 MB, free: 6.703 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.09836, allocations: 176.1 kB / 445.6 MB, free: 6.516 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.09838, allocations: 33.7 kB / 445.6 MB, free: 6.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.09846, allocations: 124.5 kB / 445.7 MB, free: 6.352 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.0985, allocations: 35.64 kB / 445.7 MB, free: 6.316 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.09856, allocations: 37.7 kB / 445.8 MB, free: 6.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.0987, allocations: 322.8 kB / 446.1 MB, free: 5.949 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.605e-05/0.09878, allocations: 31.98 kB / 446.1 MB, free: 5.918 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.09888, allocations: 66.55 kB / 446.2 MB, free: 5.844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.09907, allocations: 94.5 kB / 446.3 MB, free: 5.742 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.09907, allocations: 0 / 446.3 MB, free: 5.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002643/0.09933, allocations: 148.7 kB / 446.4 MB, free: 5.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.09935, allocations: 7.938 kB / 446.4 MB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.09935, allocations: 0 / 446.4 MB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.09936, allocations: 4 kB / 446.4 MB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.09955, allocations: 39.92 kB / 446.5 MB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.09956, allocations: 8.047 kB / 446.5 MB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.09963, allocations: 11.89 kB / 446.5 MB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.09964, allocations: 11.98 kB / 446.5 MB, free: 5.512 MB / 414.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 (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 9.955e-05/0.09974, allocations: 125.8 kB / 446.6 MB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.09979, allocations: 19.84 kB / 446.6 MB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.09982, allocations: 13.47 kB / 446.7 MB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.09983, allocations: 7.984 kB / 446.7 MB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.09983, allocations: 0 / 446.7 MB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.09983, allocations: 0 / 446.7 MB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.1003, allocations: 350.9 kB / 447 MB, free: 4.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1003, allocations: 4 kB / 447 MB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.1006, allocations: 35.91 kB / 447.1 MB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1006, allocations: 0 / 447.1 MB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1006, allocations: 0 / 447.1 MB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.1016, allocations: 1.282 MB / 448.3 MB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1016, allocations: 0 / 448.3 MB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.102, allocations: 248.6 kB / 448.6 MB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.102, allocations: 16.02 kB / 448.6 MB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.102, allocations: 11.94 kB / 448.6 MB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.1021, allocations: 4 kB / 448.6 MB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.1022, allocations: 11.92 kB / 448.6 MB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1022, allocations: 4 kB / 448.6 MB, free: 3.227 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.1023, allocations: 129.2 kB / 448.7 MB, free: 3.102 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1023, allocations: 4.156 kB / 448.8 MB, free: 3.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1025, allocations: 31.94 kB / 448.8 MB, free: 3.066 MB / 414.1 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 9.875e-05/0.1026, allocations: 95.25 kB / 448.9 MB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.1028, allocations: 83.91 kB / 449 MB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1028, allocations: 0 / 449 MB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.103, allocations: 47.91 kB / 449 MB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1034, allocations: 45.75 kB / 449.1 MB, free: 2.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.1041, allocations: 385.2 kB / 449.4 MB, free: 2.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.1042, allocations: 112.1 kB / 449.5 MB, free: 2.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.331e-05/0.1043, allocations: 13.14 kB / 449.6 MB, free: 2.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.1043, allocations: 16.5 kB / 449.6 MB, free: 2.227 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1043, allocations: 4 kB / 449.6 MB, free: 2.223 MB / 414.1 MB Notification: Performance of Templates: time 0.004716/0.109, allocations: 1.702 MB / 451.3 MB, free: 0.5859 MB / 414.1 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=480 -s ida -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.1241140339989215] Failed to read output from testmodel.py, exit status != 0: 0.11715406097937375 0.131149426 0.032741598000000004 Calling exit ...