Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.001344/0.001344, allocations: 111.9 kB / 17.54 MB, free: 4.641 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.001357/0.001357, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.249/1.249, allocations: 225.6 MB / 249.3 MB, free: 3.203 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.018/0.018, allocations: 1.345 MB / 305.8 MB, free: 3.457 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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 67.89 kB / 428.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.2, allocations: 52.44 MB / 480.7 MB, free: 29.64 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.002071/0.2021, allocations: 1.694 MB / 482.4 MB, free: 28.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006676/0.2028, allocations: 0.532 MB / 482.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.2028, allocations: 7 kB / 483 MB, free: 28.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.2029, allocations: 26.31 kB / 483 MB, free: 28.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.203, allocations: 29.98 kB / 483 MB, free: 28.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.2032, allocations: 82.52 kB / 483.1 MB, free: 28.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.2033, allocations: 121.7 kB / 483.2 MB, free: 27.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.2034, allocations: 41.83 kB / 483.2 MB, free: 27.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.2034, allocations: 45.36 kB / 483.3 MB, free: 27.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.2035, allocations: 46.75 kB / 483.3 MB, free: 27.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.2035, allocations: 9.312 kB / 483.3 MB, free: 27.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.2035, allocations: 8.938 kB / 483.4 MB, free: 27.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.2036, allocations: 22.66 kB / 483.4 MB, free: 27.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.2036, allocations: 58.36 kB / 483.4 MB, free: 27.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.2037, allocations: 116.6 kB / 483.5 MB, free: 27.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2037, allocations: 0 / 483.5 MB, free: 27.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2037, allocations: 3.938 kB / 483.6 MB, free: 27.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2037, allocations: 0 / 483.6 MB, free: 27.77 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003774/0.2041, allocations: 430.4 kB / 484 MB, free: 27.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.2041, allocations: 9.375 kB / 484 MB, free: 27.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.706e-05/0.2042, allocations: 41.28 kB / 484 MB, free: 27.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.2042, allocations: 18.97 kB / 484 MB, free: 27.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.2043, allocations: 198.6 kB / 484.2 MB, free: 27.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2043, allocations: 10.97 kB / 484.2 MB, free: 27.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.2044, allocations: 9.469 kB / 484.3 MB, free: 27.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.2045, allocations: 105.8 kB / 484.4 MB, free: 27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2045, allocations: 0 / 484.4 MB, free: 27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2045, allocations: 4 kB / 484.4 MB, free: 27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2045, allocations: 7.125 kB / 484.4 MB, free: 26.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.12e-05/0.2046, allocations: 38.94 kB / 484.4 MB, free: 26.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.205, allocations: 0.5444 MB / 484.9 MB, free: 26.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.515e-05/0.2051, allocations: 49.98 kB / 485 MB, free: 26.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.2052, allocations: 21.89 kB / 485 MB, free: 26.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.2052, allocations: 0 / 485 MB, free: 26.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.948e-06/0.2052, allocations: 30.56 kB / 485 MB, free: 26.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2052, allocations: 0 / 485 MB, free: 26.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001524/0.2053, allocations: 80.86 kB / 485.1 MB, free: 26.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.2053, allocations: 51.41 kB / 485.2 MB, free: 26.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2054, allocations: 189.3 kB / 485.4 MB, free: 26.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.2055, allocations: 25.7 kB / 485.4 MB, free: 26.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.2055, allocations: 109 kB / 485.5 MB, free: 26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.2055, allocations: 25.83 kB / 485.5 MB, free: 25.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.2055, allocations: 30.14 kB / 485.5 MB, free: 25.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.855e-05/0.2056, allocations: 325.3 kB / 485.9 MB, free: 25.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.593e-05/0.2056, allocations: 24.27 kB / 485.9 MB, free: 25.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.2057, allocations: 55.33 kB / 485.9 MB, free: 25.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.2057, allocations: 75.23 kB / 486 MB, free: 25.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2057, allocations: 0 / 486 MB, free: 25.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001209/0.2058, allocations: 121.9 kB / 486.1 MB, free: 25.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.2059, allocations: 7.062 kB / 486.1 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2059, allocations: 14.47 kB / 486.2 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2059, allocations: 0 / 486.2 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.206, allocations: 27.48 kB / 486.2 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.206, allocations: 2.75 kB / 486.2 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.206, allocations: 14.88 kB / 486.2 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2061, allocations: 6.938 kB / 486.2 MB, free: 25.43 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 (15): * Single equations (assignments): 15 * 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 4.61e-05/0.2061, allocations: 119.8 kB / 486.3 MB, free: 25.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.2061, allocations: 11.05 kB / 486.3 MB, free: 25.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.2062, allocations: 19.92 kB / 486.4 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2062, allocations: 0 / 486.4 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2062, allocations: 7.203 kB / 486.4 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.2062, allocations: 0 / 486.4 MB, free: 25.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.2064, allocations: 354.6 kB / 486.7 MB, free: 24.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2064, allocations: 0 / 486.7 MB, free: 24.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.2065, allocations: 21.31 kB / 486.7 MB, free: 24.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2065, allocations: 0 / 486.7 MB, free: 24.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.2066, allocations: 3.062 kB / 486.7 MB, free: 24.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005463/0.2071, allocations: 1.409 MB / 488.1 MB, free: 23.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2071, allocations: 0 / 488.1 MB, free: 23.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.666e-05/0.2072, allocations: 186.4 kB / 488.3 MB, free: 23.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.2072, allocations: 95.17 kB / 488.4 MB, free: 23.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2072, allocations: 3.031 kB / 488.4 MB, free: 23.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.2073, allocations: 8.062 kB / 488.4 MB, free: 23.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.2073, allocations: 3.219 kB / 488.4 MB, free: 23.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.2073, allocations: 0 / 488.4 MB, free: 23.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.859e-05/0.2074, allocations: 129.3 kB / 488.6 MB, free: 23.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2074, allocations: 0 / 488.6 MB, free: 23.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.2076, allocations: 23.28 kB / 488.6 MB, free: 23.09 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 (4): * Single equations (assignments): 3 * 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.0002284/0.2078, allocations: 0.7195 MB / 489.3 MB, free: 22.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.2079, allocations: 51.69 kB / 489.4 MB, free: 22.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2079, allocations: 0 / 489.4 MB, free: 22.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.208, allocations: 26.17 kB / 489.4 MB, free: 22.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.2084, allocations: 41.11 kB / 489.4 MB, free: 22.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.2095, allocations: 1.735 MB / 491.2 MB, free: 20.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.644e-05/0.2096, allocations: 0.7101 MB / 491.9 MB, free: 20.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.2096, allocations: 14.11 kB / 491.9 MB, free: 20.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.2097, allocations: 36.97 kB / 491.9 MB, free: 20.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2097, allocations: 0 / 491.9 MB, free: 20.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.2321, allocations: 2.83 MB / 494.7 MB, free: 19.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.305, allocations: 6.141 kB / 494.7 MB, free: 19.69 MB / 366.1 MB " [Timeout remaining time 653] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.411412802990526]