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.001053/0.001053, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001224/0.001224, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.857/0.857, allocations: 177.1 MB / 203.5 MB, free: 5.398 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.004118/0.004118, allocations: 1.029 MB / 261 MB, free: 12.18 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.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.783e-06/1.783e-06, allocations: 3.938 kB / 387.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.6e-05, allocations: 2.281 kB / 387.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.002086/0.002112, allocations: 1.652 MB / 388.8 MB, free: 9.961 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.002814, allocations: 0.5377 MB / 389.3 MB, free: 9.418 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.002869, allocations: 0 / 389.3 MB, free: 9.418 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.003001, allocations: 23.73 kB / 389.3 MB, free: 9.395 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.003042, allocations: 31.72 kB / 389.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.003243, allocations: 79.89 kB / 389.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.003389, allocations: 135.4 kB / 389.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.003507, allocations: 33.28 kB / 389.6 MB, free: 9.117 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.003568, allocations: 63.83 kB / 389.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.501e-05/0.003633, allocations: 31.89 kB / 389.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.003657, allocations: 8 kB / 389.7 MB, free: 9.016 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.00367, allocations: 12 kB / 389.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.003689, allocations: 15.92 kB / 389.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.003721, allocations: 39.84 kB / 389.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.003847, allocations: 107.6 kB / 389.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003849, allocations: 0 / 389.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.003851, allocations: 4 kB / 389.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.003855, allocations: 4 kB / 389.9 MB, free: 8.836 MB / 362.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.0004001/0.004255, allocations: 351.6 kB / 390.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.004286, allocations: 12.03 kB / 390.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.004318, allocations: 12.84 kB / 390.3 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.004462, allocations: 149.5 kB / 390.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.004473, allocations: 12.25 kB / 390.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.004495, allocations: 8.375 kB / 390.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.004622, allocations: 100.8 kB / 390.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.004629, allocations: 192 / 390.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.004641, allocations: 4.375 kB / 390.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.004648, allocations: 11.94 kB / 390.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/0.004707, allocations: 39.92 kB / 390.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.005158, allocations: 476.5 kB / 391.1 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/0.005237, allocations: 46.62 kB / 391.1 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.005265, allocations: 20.88 kB / 391.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.005273, allocations: 3.938 kB / 391.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.005291, allocations: 38.55 kB / 391.2 MB, free: 7.449 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.005293, allocations: 4 kB / 391.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001409/0.005433, allocations: 69.59 kB / 391.2 MB, free: 7.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.005459, allocations: 51.41 kB / 391.3 MB, free: 7.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.005781, allocations: 170.8 kB / 391.4 MB, free: 7.133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.00579, allocations: 25.7 kB / 391.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.005844, allocations: 124.3 kB / 391.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.005856, allocations: 15.84 kB / 391.6 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.005885, allocations: 21.72 kB / 391.6 MB, free: 6.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.005958, allocations: 322.8 kB / 391.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.005986, allocations: 19.98 kB / 392 MB, free: 6.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.00602, allocations: 55.36 kB / 392 MB, free: 6.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.235e-05/0.006083, allocations: 63.36 kB / 392.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006085, allocations: 0 / 392.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.211e-05/0.006177, allocations: 93.58 kB / 392.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.006188, allocations: 6.812 kB / 392.2 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006193, allocations: 4 kB / 392.2 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.006204, allocations: 0 / 392.2 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.00629, allocations: 28.08 kB / 392.2 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.006295, allocations: 3.938 kB / 392.2 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.006322, allocations: 15.89 kB / 392.2 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.006326, allocations: 0 / 392.2 MB, free: 6.293 MB / 362.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 5.78e-05/0.006384, allocations: 121.8 kB / 392.4 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.006398, allocations: 11.89 kB / 392.4 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.006418, allocations: 8.344 kB / 392.4 MB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.00642, allocations: 4 kB / 392.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.006424, allocations: 0 / 392.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006427, allocations: 3.938 kB / 392.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.006631, allocations: 294.9 kB / 392.7 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.006633, allocations: 3.984 kB / 392.7 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.006747, allocations: 19.98 kB / 392.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.006748, allocations: 3.938 kB / 392.7 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.006757, allocations: 4 kB / 392.7 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005769/0.007334, allocations: 1.282 MB / 394 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007334, allocations: 0 / 394 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.506e-05/0.007429, allocations: 176.5 kB / 394.2 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.007452, allocations: 23.92 kB / 394.2 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-06/0.007459, allocations: 4.047 kB / 394.2 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.007495, allocations: 3.984 kB / 394.2 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.007511, allocations: 4 kB / 394.2 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.007514, allocations: 0 / 394.2 MB, free: 4.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.114e-05/0.007565, allocations: 115.2 kB / 394.3 MB, free: 4.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007565, allocations: 0 / 394.3 MB, free: 4.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001603/0.007725, allocations: 28.16 kB / 394.3 MB, free: 4.027 MB / 362.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 7.391e-05/0.007799, allocations: 99.23 kB / 394.4 MB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.001e-05/0.007889, allocations: 39.92 kB / 394.5 MB, free: 3.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007891, allocations: 0 / 394.5 MB, free: 3.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/0.007987, allocations: 31.92 kB / 394.5 MB, free: 3.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.008251, allocations: 50.73 kB / 394.5 MB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.008611, allocations: 284.3 kB / 394.8 MB, free: 3.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.335e-05/0.008664, allocations: 97.16 kB / 394.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.008687, allocations: 12.5 kB / 394.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008687, allocations: 0 / 394.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of Templates: time 0.002056/0.01074, allocations: 1.62 MB / 396.5 MB, free: 1.746 MB / 362.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=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.179353397339582] Failed to read output from testmodel.py, exit status != 0: 0.015560217201709747 0.023222227 0.017804442 Calling exit ...