Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_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.0008341/0.0008341, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009729/0.0009729, allocations: 169 kB / 23.02 MB, free: 1.551 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.9906/0.9906, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.007235/0.007235, allocations: 1.025 MB / 261 MB, free: 12.15 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.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 335 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.333e-05, allocations: 9.125 kB / 335 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.002848/0.002882, allocations: 1.735 MB / 336.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.003883, allocations: 0.5611 MB / 337.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.003947, allocations: 4 kB / 337.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.004078, allocations: 15.8 kB / 337.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.004121, allocations: 35.66 kB / 337.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.004309, allocations: 91.75 kB / 337.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.004439, allocations: 155.4 kB / 337.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.004552, allocations: 37.98 kB / 337.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.008e-05/0.004612, allocations: 67.81 kB / 337.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.004692, allocations: 31.89 kB / 337.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.004712, allocations: 12 kB / 337.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.004725, allocations: 8 kB / 337.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.004746, allocations: 31.84 kB / 337.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.004778, allocations: 31.92 kB / 337.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.004894, allocations: 87.53 kB / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004895, allocations: 4 kB / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004896, allocations: 0 / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.0049, allocations: 0 / 337.9 MB, free: 11.62 MB / 266.7 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.0003542/0.005254, allocations: 456 kB / 338.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.005286, allocations: 8.031 kB / 338.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.005324, allocations: 20.89 kB / 338.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.005445, allocations: 157 kB / 338.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.005454, allocations: 8.375 kB / 338.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.005477, allocations: 8.375 kB / 338.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.005584, allocations: 105.5 kB / 338.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.00559, allocations: 192 / 338.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.005603, allocations: 4.375 kB / 338.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.005611, allocations: 7.938 kB / 338.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.396e-05/0.005665, allocations: 31.91 kB / 338.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.006073, allocations: 0.5061 MB / 339.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.128e-05/0.006155, allocations: 54.98 kB / 339.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.006182, allocations: 23.8 kB / 339.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.00619, allocations: 4 kB / 339.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.006202, allocations: 33.39 kB / 339.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.006203, allocations: 0 / 339.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001354/0.006338, allocations: 73.59 kB / 339.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.592e-05/0.006354, allocations: 51.41 kB / 339.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.006438, allocations: 216.5 kB / 339.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.006444, allocations: 29.64 kB / 339.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.006486, allocations: 170.6 kB / 339.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.006498, allocations: 23.8 kB / 339.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.006528, allocations: 35.36 kB / 339.9 MB, free: 9.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.006568, allocations: 0.4923 MB / 340.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.006588, allocations: 11.94 kB / 340.4 MB, free: 8.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.006624, allocations: 54.67 kB / 340.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.725e-05/0.006681, allocations: 74.61 kB / 340.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006683, allocations: 0 / 340.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.533e-05/0.006768, allocations: 93.58 kB / 340.6 MB, free: 8.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.006778, allocations: 4 kB / 340.6 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.006783, allocations: 4 kB / 340.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.006796, allocations: 0 / 340.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.006946, allocations: 39.97 kB / 340.6 MB, free: 8.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004601/0.007406, allocations: 1.809 MB / 342.5 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.007431, allocations: 11.94 kB / 342.5 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.007437, allocations: 4.25 kB / 342.5 MB, free: 6.668 MB / 266.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 (12): * Single equations (assignments): 11 * 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 4.147e-05/0.007478, allocations: 164.5 kB / 342.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.007496, allocations: 15.84 kB / 342.6 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.067e-05/0.007507, allocations: 12.78 kB / 342.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.007508, allocations: 3.984 kB / 342.7 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.007509, allocations: 4 kB / 342.7 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007512, allocations: 0 / 342.7 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.007707, allocations: 357.1 kB / 343 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.007708, allocations: 3.984 kB / 343 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.007813, allocations: 31.98 kB / 343.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007814, allocations: 0 / 343.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.007822, allocations: 0 / 343.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003358/0.008158, allocations: 1.817 MB / 344.9 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.008159, allocations: 0 / 344.9 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.444e-05/0.008243, allocations: 239.4 kB / 345.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.008263, allocations: 15.91 kB / 345.1 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.008271, allocations: 7.984 kB / 345.1 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.008305, allocations: 0 / 345.1 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.008322, allocations: 7.938 kB / 345.1 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.008324, allocations: 0 / 345.1 MB, free: 3.801 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.805e-05/0.008362, allocations: 160 kB / 345.3 MB, free: 3.645 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008362, allocations: 8.031 kB / 345.3 MB, free: 3.637 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001618/0.008524, allocations: 27.94 kB / 345.3 MB, free: 3.609 MB / 266.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 (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 5.34e-05/0.008577, allocations: 95.25 kB / 345.4 MB, free: 3.508 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.008718, allocations: 59.98 kB / 345.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008719, allocations: 0 / 345.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.421e-05/0.008763, allocations: 43.89 kB / 345.5 MB, free: 3.395 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.008989, allocations: 38.72 kB / 345.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.009577, allocations: 305.8 kB / 345.9 MB, free: 3.035 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.565e-05/0.009602, allocations: 67.2 kB / 345.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.163e-05/0.009634, allocations: 8.484 kB / 345.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.009666, allocations: 20.5 kB / 346 MB, free: 2.922 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009667, allocations: 0 / 346 MB, free: 2.922 MB / 266.7 MB Notification: Performance of Templates: time 0.002573/0.01224, allocations: 1.432 MB / 347.4 MB, free: 1.555 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.makefile [Timeout 660] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD -l=1 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8914520610123873]