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.001256/0.001256, allocations: 76.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.001385/0.001385, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8621/0.8621, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.004293/0.004293, allocations: 1.033 MB / 261 MB, free: 12.32 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.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 1.513e-06/1.513e-06, allocations: 0 / 387.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.453e-05, allocations: 2.281 kB / 387.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.002346/0.002371, allocations: 1.931 MB / 389.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007936/0.003165, allocations: 0.5688 MB / 389.6 MB, free: 9.098 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.003249, allocations: 7.938 kB / 389.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.003387, allocations: 19.8 kB / 389.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.003443, allocations: 43.58 kB / 389.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.003676, allocations: 95.86 kB / 389.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.003856, allocations: 187.2 kB / 390 MB, free: 8.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.004, allocations: 61.64 kB / 390.1 MB, free: 8.688 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.922e-05/0.004089, allocations: 83.8 kB / 390.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.00417, allocations: 47.81 kB / 390.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.004198, allocations: 12 kB / 390.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.65e-05/0.004215, allocations: 12 kB / 390.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.004241, allocations: 31.86 kB / 390.2 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.004282, allocations: 55.77 kB / 390.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.004441, allocations: 143.5 kB / 390.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.004443, allocations: 0 / 390.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004444, allocations: 0 / 390.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.004449, allocations: 0 / 390.4 MB, free: 8.309 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004705/0.004919, allocations: 393.5 kB / 390.8 MB, free: 7.895 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.004956, allocations: 8.031 kB / 390.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.004995, allocations: 24.73 kB / 390.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.005216, allocations: 165.5 kB / 391 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005229, allocations: 12.31 kB / 391 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.005262, allocations: 12.38 kB / 391 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.005714, allocations: 132.5 kB / 391.2 MB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.005723, allocations: 192 / 391.2 MB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.005736, allocations: 4.375 kB / 391.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005742, allocations: 7.938 kB / 391.2 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.005843, allocations: 59.97 kB / 391.2 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.006347, allocations: 464 kB / 391.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.006493, allocations: 86.55 kB / 391.8 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.838e-05/0.006562, allocations: 40.97 kB / 391.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.00658, allocations: 4 kB / 391.8 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.006601, allocations: 34.56 kB / 391.8 MB, free: 6.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.006603, allocations: 3.938 kB / 391.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002307/0.006833, allocations: 133.5 kB / 392 MB, free: 6.629 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.006863, allocations: 55.34 kB / 392 MB, free: 6.562 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.006977, allocations: 180.4 kB / 392.2 MB, free: 6.371 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.006988, allocations: 25.7 kB / 392.2 MB, free: 6.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.94e-05/0.007048, allocations: 124.4 kB / 392.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.007068, allocations: 35.69 kB / 392.4 MB, free: 6.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.007107, allocations: 37.7 kB / 392.4 MB, free: 6.133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.007184, allocations: 326.8 kB / 392.8 MB, free: 5.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.976e-05/0.007233, allocations: 31.98 kB / 392.8 MB, free: 5.773 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.007293, allocations: 65.36 kB / 392.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.007396, allocations: 90.5 kB / 392.9 MB, free: 5.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007398, allocations: 0 / 392.9 MB, free: 5.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000159/0.007557, allocations: 152.3 kB / 393.1 MB, free: 5.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.007571, allocations: 7.984 kB / 393.1 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007576, allocations: 0 / 393.1 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.007589, allocations: 4 kB / 393.1 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.007705, allocations: 44.3 kB / 393.1 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.007711, allocations: 0 / 393.1 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.007745, allocations: 15.89 kB / 393.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.00775, allocations: 4 kB / 393.2 MB, free: 5.379 MB / 362.7 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 7.073e-05/0.007821, allocations: 129.8 kB / 393.3 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.007839, allocations: 15.91 kB / 393.3 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.007864, allocations: 13.47 kB / 393.3 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.007871, allocations: 7.984 kB / 393.3 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.007876, allocations: 3.938 kB / 393.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.007879, allocations: 0 / 393.3 MB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.008174, allocations: 347 kB / 393.7 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.008176, allocations: 4 kB / 393.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.008315, allocations: 31.92 kB / 393.7 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.008318, allocations: 3.984 kB / 393.7 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.008329, allocations: 7.938 kB / 393.7 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006402/0.00897, allocations: 1.274 MB / 395 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008971, allocations: 0 / 395 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.009161, allocations: 252.1 kB / 395.2 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.009192, allocations: 15.92 kB / 395.2 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.009205, allocations: 7.984 kB / 395.3 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.009252, allocations: 4 kB / 395.3 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.009292, allocations: 7.984 kB / 395.3 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.009297, allocations: 4.188 kB / 395.3 MB, free: 3.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.189e-05/0.009369, allocations: 129.2 kB / 395.4 MB, free: 2.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009369, allocations: 0 / 395.4 MB, free: 2.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.009542, allocations: 27.95 kB / 395.4 MB, free: 2.945 MB / 362.7 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 8.505e-05/0.009627, allocations: 103.2 kB / 395.5 MB, free: 2.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.009769, allocations: 83.84 kB / 395.6 MB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009771, allocations: 0 / 395.6 MB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.009895, allocations: 56.09 kB / 395.7 MB, free: 2.699 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.01018, allocations: 47.98 kB / 395.7 MB, free: 2.652 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.01068, allocations: 365.5 kB / 396.1 MB, free: 2.262 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.686e-05/0.01075, allocations: 112 kB / 396.2 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.01078, allocations: 16.5 kB / 396.2 MB, free: 2.117 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01078, allocations: 0 / 396.2 MB, free: 2.117 MB / 362.7 MB Notification: Performance of Templates: time 0.002927/0.01371, allocations: 2.14 MB / 398.3 MB, free: 15.98 MB / 378.7 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.330098171718419] Failed to read output from testmodel.py, exit status != 0: 0.019445802085101604 0.026960295000000002 0.020715154000000003 Calling exit ...