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.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: 109 kB / 17.54 MB, free: 4.746 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.001375/0.001375, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.262/1.262, allocations: 225.6 MB / 249.3 MB, free: 3.172 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.007219/0.007219, allocations: 1.339 MB / 305.8 MB, free: 3.477 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.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 67.89 kB / 428.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1933, allocations: 52.45 MB / 480.7 MB, free: 29.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.002168/0.1955, allocations: 1.989 MB / 482.7 MB, free: 28.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006421/0.1961, allocations: 0.5646 MB / 483.3 MB, free: 27.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.1962, allocations: 10.94 kB / 483.3 MB, free: 27.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.1963, allocations: 21.64 kB / 483.3 MB, free: 27.69 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.593e-05/0.1964, allocations: 34.05 kB / 483.4 MB, free: 27.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.1966, allocations: 101 kB / 483.5 MB, free: 27.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1967, allocations: 188.7 kB / 483.6 MB, free: 27.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1968, allocations: 41 kB / 483.7 MB, free: 27.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.41e-05/0.1969, allocations: 60.58 kB / 483.7 MB, free: 27.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.197, allocations: 61.14 kB / 483.8 MB, free: 27.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.197, allocations: 16.55 kB / 483.8 MB, free: 27.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.013e-05/0.197, allocations: 16.25 kB / 483.8 MB, free: 27.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.197, allocations: 41 kB / 483.9 MB, free: 27.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.1971, allocations: 65.23 kB / 483.9 MB, free: 27.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1972, allocations: 153.2 kB / 484.1 MB, free: 27.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1972, allocations: 3.219 kB / 484.1 MB, free: 27.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1972, allocations: 0 / 484.1 MB, free: 27.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1972, allocations: 0 / 484.1 MB, free: 27.29 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000434/0.1977, allocations: 481.9 kB / 484.6 MB, free: 26.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.1977, allocations: 9 kB / 484.6 MB, free: 26.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.1977, allocations: 37.75 kB / 484.6 MB, free: 26.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.1977, allocations: 18.22 kB / 484.6 MB, free: 26.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.1979, allocations: 232.7 kB / 484.9 MB, free: 26.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.1979, allocations: 10.38 kB / 484.9 MB, free: 26.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.198, allocations: 13.34 kB / 484.9 MB, free: 26.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1981, allocations: 128 kB / 485 MB, free: 26.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1981, allocations: 7 kB / 485 MB, free: 26.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1981, allocations: 4 kB / 485 MB, free: 26.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1981, allocations: 3.031 kB / 485 MB, free: 26.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.1983, allocations: 65.84 kB / 485.1 MB, free: 26.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.1988, allocations: 0.5352 MB / 485.6 MB, free: 26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.1989, allocations: 89.64 kB / 485.7 MB, free: 25.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.199, allocations: 35.64 kB / 485.7 MB, free: 25.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.199, allocations: 3.938 kB / 485.7 MB, free: 25.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.868e-06/0.199, allocations: 37.59 kB / 485.8 MB, free: 25.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.199, allocations: 0 / 485.8 MB, free: 25.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002462/0.1993, allocations: 128.9 kB / 485.9 MB, free: 25.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.524e-05/0.1993, allocations: 54.5 kB / 486 MB, free: 25.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1994, allocations: 182.2 kB / 486.1 MB, free: 25.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.1994, allocations: 25.8 kB / 486.2 MB, free: 25.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.1994, allocations: 137.3 kB / 486.3 MB, free: 25.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.1994, allocations: 36.98 kB / 486.3 MB, free: 25.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1995, allocations: 37.39 kB / 486.4 MB, free: 25.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.1995, allocations: 333.3 kB / 486.7 MB, free: 25.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.1996, allocations: 37.09 kB / 486.7 MB, free: 25.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.738e-05/0.1996, allocations: 63.39 kB / 486.8 MB, free: 25.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1998, allocations: 92.17 kB / 486.9 MB, free: 24.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1998, allocations: 7.938 kB / 486.9 MB, free: 24.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001876/0.2, allocations: 146.8 kB / 487 MB, free: 24.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/0.2, allocations: 6.406 kB / 487 MB, free: 24.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.2, allocations: 0 / 487 MB, free: 24.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2, allocations: 3.281 kB / 487 MB, free: 24.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.2001, allocations: 34.94 kB / 487.1 MB, free: 24.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2001, allocations: 2.719 kB / 487.1 MB, free: 24.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.639e-05/0.2002, allocations: 10.95 kB / 487.1 MB, free: 24.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.2002, allocations: 7 kB / 487.1 MB, free: 24.89 MB / 366.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 5.665e-05/0.2003, allocations: 134.7 kB / 487.2 MB, free: 24.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.2003, allocations: 21.03 kB / 487.2 MB, free: 24.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.2003, allocations: 16.34 kB / 487.3 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2003, allocations: 0 / 487.3 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2003, allocations: 0 / 487.3 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2003, allocations: 0 / 487.3 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.2007, allocations: 429.6 kB / 487.7 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2007, allocations: 0 / 487.7 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.2009, allocations: 31.36 kB / 487.7 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2009, allocations: 3.062 kB / 487.7 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2009, allocations: 4 kB / 487.7 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005554/0.2014, allocations: 1.398 MB / 489.1 MB, free: 22.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2014, allocations: 80 / 489.1 MB, free: 22.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.2017, allocations: 254.6 kB / 489.4 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.2017, allocations: 90.89 kB / 489.5 MB, free: 22.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2017, allocations: 7.547 kB / 489.5 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.2018, allocations: 7.406 kB / 489.5 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.2018, allocations: 10.16 kB / 489.5 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.2018, allocations: 3.156 kB / 489.5 MB, free: 22.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.232e-05/0.2019, allocations: 139 kB / 489.6 MB, free: 22.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2019, allocations: 96 / 489.6 MB, free: 22.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.2021, allocations: 40.17 kB / 489.7 MB, free: 22.48 MB / 366.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.0003522/0.2025, allocations: 0.7846 MB / 490.4 MB, free: 21.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.2027, allocations: 88.23 kB / 490.5 MB, free: 21.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2027, allocations: 0 / 490.5 MB, free: 21.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.2028, allocations: 47.38 kB / 490.6 MB, free: 21.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.2032, allocations: 43.09 kB / 490.6 MB, free: 21.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2046, allocations: 1.937 MB / 492.6 MB, free: 20.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.2047, allocations: 0.7213 MB / 493.3 MB, free: 19.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.2048, allocations: 11.75 kB / 493.3 MB, free: 19.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.2048, allocations: 46.73 kB / 493.3 MB, free: 19.45 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2048, allocations: 0 / 493.3 MB, free: 19.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.2284, allocations: 3.474 MB / 496.8 MB, free: 18.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.24, allocations: 8.297 kB / 496.8 MB, free: 18.93 MB / 366.1 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.330319733999204]