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.002051/0.002051, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.002225/0.002225, allocations: 171.9 kB / 22.46 MB, free: 5.355 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.437/1.437, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.007735/0.007735, allocations: 1.045 MB / 260.2 MB, free: 15.75 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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 386.4 MB, free: 212 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.399e-05, allocations: 6.219 kB / 386.4 MB, free: 204 kB / 302.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.004673/0.004707, allocations: 1.935 MB / 388.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.006292, allocations: 0.5727 MB / 388.9 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.00642, allocations: 4 kB / 388.9 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.006617, allocations: 27.73 kB / 388.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.00674, allocations: 43.58 kB / 389 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.007101, allocations: 95.86 kB / 389.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.007462, allocations: 183.3 kB / 389.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.007662, allocations: 51.53 kB / 389.3 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.007856, allocations: 91.73 kB / 389.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.007997, allocations: 43.83 kB / 389.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.008037, allocations: 12 kB / 389.4 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.471e-05/0.008072, allocations: 12 kB / 389.5 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.008128, allocations: 39.83 kB / 389.5 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.556e-05/0.008213, allocations: 47.84 kB / 389.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.008516, allocations: 147.4 kB / 389.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.008521, allocations: 0 / 389.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.925e-06/0.008529, allocations: 0 / 389.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.008536, allocations: 0 / 389.7 MB, free: 12.89 MB / 318.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.0009087/0.009445, allocations: 393.5 kB / 390.1 MB, free: 12.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.00949, allocations: 8.031 kB / 390.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.009562, allocations: 20.8 kB / 390.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.00998, allocations: 165.5 kB / 390.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.01, allocations: 8.375 kB / 390.3 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.01005, allocations: 12.38 kB / 390.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.01043, allocations: 133.2 kB / 390.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.01044, allocations: 192 / 390.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.01047, allocations: 4.375 kB / 390.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.01048, allocations: 7.938 kB / 390.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.01072, allocations: 63.83 kB / 390.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.01155, allocations: 460.1 kB / 390.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.01176, allocations: 90.48 kB / 391 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.758e-05/0.01184, allocations: 32.84 kB / 391.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.01187, allocations: 4.188 kB / 391.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.01191, allocations: 38.5 kB / 391.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.01191, allocations: 0 / 391.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003523/0.01226, allocations: 133.5 kB / 391.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.01232, allocations: 55.34 kB / 391.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.01251, allocations: 180.1 kB / 391.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.01253, allocations: 29.7 kB / 391.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01264, allocations: 124.4 kB / 391.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.01268, allocations: 35.69 kB / 391.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.47e-05/0.01274, allocations: 37.7 kB / 391.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.013, allocations: 322.8 kB / 392 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.239e-05/0.01309, allocations: 31.98 kB / 392 MB, free: 10.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.01319, allocations: 62.55 kB / 392.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.0134, allocations: 94.5 kB / 392.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.0134, allocations: 0 / 392.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002698/0.01367, allocations: 153.4 kB / 392.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.01368, allocations: 4 kB / 392.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.01369, allocations: 0 / 392.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.01371, allocations: 4 kB / 392.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.0139, allocations: 43.92 kB / 392.4 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.01391, allocations: 0 / 392.4 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.659e-05/0.014, allocations: 11.89 kB / 392.4 MB, free: 9.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.01402, allocations: 8 kB / 392.4 MB, free: 9.969 MB / 318.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 0.0001119/0.01413, allocations: 125.8 kB / 392.5 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.01417, allocations: 11.95 kB / 392.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.0142, allocations: 13.47 kB / 392.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.01421, allocations: 7.984 kB / 392.6 MB, free: 9.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.01422, allocations: 3.938 kB / 392.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.01422, allocations: 0 / 392.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.01472, allocations: 359.2 kB / 392.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01473, allocations: 4 kB / 392.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.01497, allocations: 35.91 kB / 392.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01497, allocations: 0 / 392.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.01499, allocations: 11.88 kB / 393 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.01619, allocations: 1.27 MB / 394.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.01619, allocations: 3.938 kB / 394.2 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.01654, allocations: 244.2 kB / 394.5 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.01659, allocations: 19.91 kB / 394.5 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.01661, allocations: 4 kB / 394.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.01669, allocations: 3.938 kB / 394.5 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.01673, allocations: 11.98 kB / 394.5 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.01674, allocations: 160 / 394.5 MB, free: 7.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.01685, allocations: 129.2 kB / 394.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01685, allocations: 0 / 394.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.01711, allocations: 31.95 kB / 394.7 MB, free: 7.539 MB / 318.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 0.0001187/0.01723, allocations: 103.2 kB / 394.8 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.01746, allocations: 83.84 kB / 394.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01746, allocations: 0 / 394.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.01765, allocations: 56.08 kB / 394.9 MB, free: 7.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.01806, allocations: 54.39 kB / 395 MB, free: 7.246 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006946/0.01876, allocations: 346.8 kB / 395.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.01886, allocations: 104.1 kB / 395.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.088e-05/0.01893, allocations: 17.17 kB / 395.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.01897, allocations: 20.5 kB / 395.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01897, allocations: 0 / 395.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of Templates: time 0.004877/0.02385, allocations: 1.673 MB / 397.1 MB, free: 5.105 MB / 318.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 -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.251807067543268] Failed to read output from testmodel.py, exit status != 0: 0.034329380840063095 0.047889303 0.036096234000000005 Calling exit ...