Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.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.001569/0.001569, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.001722/0.001722, allocations: 154.2 kB / 23.01 MB, free: 4.973 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.431/1.431, allocations: 177.2 MB / 203.4 MB, free: 8.938 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.007892/0.007892, allocations: 1.039 MB / 260.8 MB, free: 15.72 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.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") [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.002109/0.002109, allocations: 63.91 kB / 386.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08994, allocations: 53.65 MB / 440.5 MB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003256/0.09319, allocations: 1.766 MB / 442.3 MB, free: 9.953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.0942, allocations: 0.5533 MB / 442.8 MB, free: 9.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.09427, allocations: 4 kB / 442.8 MB, free: 9.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.09439, allocations: 23.8 kB / 442.9 MB, free: 9.367 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.275e-05/0.09447, allocations: 39.59 kB / 442.9 MB, free: 9.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.09469, allocations: 79.89 kB / 443 MB, free: 9.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.09494, allocations: 175.4 kB / 443.1 MB, free: 9.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.09506, allocations: 33.8 kB / 443.2 MB, free: 9.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.09515, allocations: 55.72 kB / 443.2 MB, free: 8.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.09524, allocations: 55.64 kB / 443.3 MB, free: 8.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.09526, allocations: 8 kB / 443.3 MB, free: 8.926 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.438e-05/0.09529, allocations: 16 kB / 443.3 MB, free: 8.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.09532, allocations: 19.92 kB / 443.3 MB, free: 8.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.09538, allocations: 55.67 kB / 443.4 MB, free: 8.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.09557, allocations: 127.4 kB / 443.5 MB, free: 8.711 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.09557, allocations: 0 / 443.5 MB, free: 8.711 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09557, allocations: 0 / 443.5 MB, free: 8.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.09558, allocations: 0 / 443.5 MB, free: 8.711 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006282/0.0962, allocations: 381.5 kB / 443.9 MB, free: 8.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.09624, allocations: 8.031 kB / 443.9 MB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.09629, allocations: 24.8 kB / 443.9 MB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.0965, allocations: 147.1 kB / 444.1 MB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.09652, allocations: 8.375 kB / 444.1 MB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.09655, allocations: 8.375 kB / 444.1 MB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.09682, allocations: 126.4 kB / 444.2 MB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.09683, allocations: 3.984 kB / 444.2 MB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.09684, allocations: 3.938 kB / 444.2 MB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.09685, allocations: 7.984 kB / 444.2 MB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.09709, allocations: 67.95 kB / 444.3 MB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007233/0.09781, allocations: 424.3 kB / 444.7 MB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.09801, allocations: 70.55 kB / 444.8 MB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.09813, allocations: 36.95 kB / 444.8 MB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.09815, allocations: 4 kB / 444.8 MB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.09817, allocations: 30.56 kB / 444.8 MB, free: 7.266 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.09817, allocations: 4 kB / 444.8 MB, free: 7.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004207/0.09859, allocations: 133.4 kB / 445 MB, free: 7.125 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.09864, allocations: 55.39 kB / 445 MB, free: 7.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.0988, allocations: 162.3 kB / 445.2 MB, free: 6.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.09882, allocations: 29.7 kB / 445.2 MB, free: 6.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.0989, allocations: 119.9 kB / 445.3 MB, free: 6.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.09893, allocations: 31.78 kB / 445.4 MB, free: 6.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.09898, allocations: 25.72 kB / 445.4 MB, free: 6.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.09912, allocations: 322.8 kB / 445.7 MB, free: 6.344 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.09924, allocations: 35.97 kB / 445.7 MB, free: 6.309 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.09938, allocations: 64.27 kB / 445.8 MB, free: 6.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.09963, allocations: 108.1 kB / 445.9 MB, free: 6.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.09964, allocations: 7.938 kB / 445.9 MB, free: 6.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003111/0.09995, allocations: 133.5 kB / 446 MB, free: 5.965 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.09996, allocations: 6.188 kB / 446 MB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.09997, allocations: 0 / 446 MB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.09999, allocations: 7.938 kB / 446.1 MB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.1002, allocations: 44.09 kB / 446.1 MB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.1013, allocations: 1.274 MB / 447.4 MB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.204e-05/0.1014, allocations: 11.97 kB / 447.4 MB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1014, allocations: 4 kB / 447.4 MB, free: 4.523 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 12 * 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 prepare postOptimizeDAE: time 0.0001055/0.1015, allocations: 133.9 kB / 447.5 MB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.1015, allocations: 15.89 kB / 447.5 MB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.1016, allocations: 13.47 kB / 447.5 MB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1016, allocations: 0 / 447.5 MB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.1016, allocations: 0 / 447.5 MB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1016, allocations: 0 / 447.5 MB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.1021, allocations: 338.9 kB / 447.9 MB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1021, allocations: 320 / 447.9 MB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.1023, allocations: 40 kB / 447.9 MB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1023, allocations: 0 / 447.9 MB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1023, allocations: 4 kB / 447.9 MB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009834/0.1033, allocations: 1.286 MB / 449.2 MB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1033, allocations: 4.156 kB / 449.2 MB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.1037, allocations: 236.3 kB / 449.4 MB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.1038, allocations: 11.97 kB / 449.5 MB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1038, allocations: 7.938 kB / 449.5 MB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1039, allocations: 11.98 kB / 449.5 MB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1039, allocations: 96 / 449.5 MB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1039, allocations: 11.88 kB / 449.5 MB, free: 2.258 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.104, allocations: 120.2 kB / 449.6 MB, free: 2.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.104, allocations: 4.062 kB / 449.6 MB, free: 2.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1043, allocations: 31.89 kB / 449.6 MB, free: 2.105 MB / 414.1 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.21e-05/0.1044, allocations: 99.23 kB / 449.7 MB, free: 2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.1048, allocations: 87.88 kB / 449.8 MB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1048, allocations: 0 / 449.8 MB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.105, allocations: 52.16 kB / 449.9 MB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1054, allocations: 38.28 kB / 449.9 MB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.106, allocations: 344.8 kB / 450.2 MB, free: 1.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.313e-05/0.1061, allocations: 97.61 kB / 450.3 MB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.891e-05/0.1061, allocations: 16.97 kB / 450.4 MB, free: 1.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.1062, allocations: 12.5 kB / 450.4 MB, free: 1.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1062, allocations: 0 / 450.4 MB, free: 1.32 MB / 414.1 MB Notification: Performance of Templates: time 0.004474/0.1107, allocations: 1.581 MB / 451.9 MB, free: 15.79 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.184328170027584] Failed to read output from testmodel.py, exit status != 0: 0.11891011998523027 0.133348571 0.034732371000000005 Calling exit ...