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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 108.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 190.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 225.6 MB / 249.3 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.01047/0.01047, allocations: 1.342 MB / 305.8 MB, free: 3.398 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 63.89 kB / 429 MB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.197, allocations: 52.44 MB / 481.5 MB, free: 29.89 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.001972/0.199, allocations: 1.728 MB / 483.2 MB, free: 28.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006071/0.1996, allocations: 0.542 MB / 483.8 MB, free: 28.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/0.1996, allocations: 3.125 kB / 483.8 MB, free: 28.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.1997, allocations: 18.3 kB / 483.8 MB, free: 28.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.1998, allocations: 30.19 kB / 483.8 MB, free: 28.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.2, allocations: 86.64 kB / 483.9 MB, free: 28.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.2001, allocations: 155.8 kB / 484 MB, free: 28.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2002, allocations: 33.5 kB / 484.1 MB, free: 28.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.23e-05/0.2003, allocations: 52.8 kB / 484.1 MB, free: 28.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.097e-05/0.2003, allocations: 57.7 kB / 484.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.2004, allocations: 9.031 kB / 484.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.2004, allocations: 9 kB / 484.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.2004, allocations: 22.41 kB / 484.2 MB, free: 28.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.2004, allocations: 57.02 kB / 484.3 MB, free: 28.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.2006, allocations: 119.2 kB / 484.4 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2006, allocations: 0 / 484.4 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2006, allocations: 0 / 484.4 MB, free: 27.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.2006, allocations: 0 / 484.4 MB, free: 27.97 MB / 366.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.0003795/0.2009, allocations: 443.3 kB / 484.8 MB, free: 27.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.201, allocations: 9.031 kB / 484.8 MB, free: 27.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.201, allocations: 41.45 kB / 484.9 MB, free: 27.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.201, allocations: 17.84 kB / 484.9 MB, free: 27.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2012, allocations: 211.7 kB / 485.1 MB, free: 27.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2012, allocations: 10.56 kB / 485.1 MB, free: 27.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.2012, allocations: 14.16 kB / 485.1 MB, free: 27.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.2013, allocations: 102.2 kB / 485.2 MB, free: 27.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2014, allocations: 0 / 485.2 MB, free: 27.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2014, allocations: 7 kB / 485.2 MB, free: 27.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2014, allocations: 3 kB / 485.2 MB, free: 27.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.185e-05/0.2014, allocations: 43.73 kB / 485.3 MB, free: 27.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00047/0.2019, allocations: 0.4986 MB / 485.8 MB, free: 26.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.41e-05/0.202, allocations: 61.95 kB / 485.8 MB, free: 26.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.202, allocations: 25.27 kB / 485.9 MB, free: 26.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.202, allocations: 0 / 485.9 MB, free: 26.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.2021, allocations: 34.5 kB / 485.9 MB, free: 26.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.2021, allocations: 7 kB / 485.9 MB, free: 26.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001704/0.2022, allocations: 87.12 kB / 486 MB, free: 26.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.616e-05/0.2022, allocations: 54.41 kB / 486 MB, free: 26.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.2023, allocations: 162.6 kB / 486.2 MB, free: 26.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.2023, allocations: 28.73 kB / 486.2 MB, free: 26.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.2024, allocations: 120.8 kB / 486.3 MB, free: 26.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.2024, allocations: 22.77 kB / 486.4 MB, free: 26.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.2024, allocations: 30.38 kB / 486.4 MB, free: 26.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.704e-05/0.2025, allocations: 326.1 kB / 486.7 MB, free: 25.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.2025, allocations: 23.25 kB / 486.7 MB, free: 25.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.2025, allocations: 49.48 kB / 486.8 MB, free: 25.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.853e-05/0.2026, allocations: 67.53 kB / 486.9 MB, free: 25.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2026, allocations: 4 kB / 486.9 MB, free: 25.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001166/0.2027, allocations: 105.7 kB / 487 MB, free: 25.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.2027, allocations: 6.875 kB / 487 MB, free: 25.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2027, allocations: 3 kB / 487 MB, free: 25.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2027, allocations: 0 / 487 MB, free: 25.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.203, allocations: 41.41 kB / 487 MB, free: 25.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005658/0.2035, allocations: 1.404 MB / 488.4 MB, free: 24.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.2036, allocations: 15.05 kB / 488.4 MB, free: 24.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.2036, allocations: 3.125 kB / 488.4 MB, free: 24.23 MB / 366.1 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 5.423e-05/0.2036, allocations: 123.5 kB / 488.6 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.2037, allocations: 10.92 kB / 488.6 MB, free: 24.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.2037, allocations: 16.62 kB / 488.6 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2037, allocations: 3.938 kB / 488.6 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.11e-07/0.2037, allocations: 3 kB / 488.6 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2037, allocations: 0 / 488.6 MB, free: 24.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.2039, allocations: 382.9 kB / 489 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2039, allocations: 0 / 489 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.2041, allocations: 37.16 kB / 489 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2041, allocations: 0 / 489 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2041, allocations: 0 / 489 MB, free: 23.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004932/0.2046, allocations: 1.41 MB / 490.4 MB, free: 22.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2046, allocations: 0 / 490.4 MB, free: 22.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.2048, allocations: 207.7 kB / 490.6 MB, free: 22.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.2048, allocations: 84.31 kB / 490.7 MB, free: 21.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.2048, allocations: 6.531 kB / 490.7 MB, free: 21.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.2049, allocations: 7.938 kB / 490.7 MB, free: 21.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.2049, allocations: 2.656 kB / 490.7 MB, free: 21.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.2049, allocations: 3.469 kB / 490.7 MB, free: 21.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.418e-05/0.2049, allocations: 125.9 kB / 490.8 MB, free: 21.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2049, allocations: 0 / 490.8 MB, free: 21.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.2052, allocations: 30.7 kB / 490.9 MB, free: 21.87 MB / 366.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 0.0002445/0.2054, allocations: 0.7279 MB / 491.6 MB, free: 21.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.2056, allocations: 71.98 kB / 491.7 MB, free: 21.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2056, allocations: 0 / 491.7 MB, free: 21.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.2057, allocations: 32.45 kB / 491.7 MB, free: 21.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.2061, allocations: 50.59 kB / 491.7 MB, free: 21.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.2072, allocations: 1.719 MB / 493.5 MB, free: 19.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2073, allocations: 0.7147 MB / 494.2 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.407e-05/0.2074, allocations: 18.28 kB / 494.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.2074, allocations: 42.02 kB / 494.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2074, allocations: 0 / 494.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.2305, allocations: 2.909 MB / 497.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.341, allocations: 14.27 kB / 497.2 MB, free: 18.45 MB / 366.1 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.446234025002923]