Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_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.00128/0.00128, allocations: 112 kB / 17.6 MB, free: 4.699 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.001262/0.001262, allocations: 186 kB / 20.78 MB, free: 1.535 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.392/1.392, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] 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.007544/0.007544, allocations: 1.338 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.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 68.12 kB / 428.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2349, allocations: 52.45 MB / 480.9 MB, free: 29.69 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002411/0.2373, allocations: 1.797 MB / 482.7 MB, free: 28.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007476/0.2381, allocations: 0.5613 MB / 483.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.2381, allocations: 0 / 483.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.2383, allocations: 18.3 kB / 483.3 MB, free: 28.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.901e-05/0.2383, allocations: 34.31 kB / 483.3 MB, free: 28.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.2385, allocations: 95.94 kB / 483.4 MB, free: 27.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.2387, allocations: 159.2 kB / 483.5 MB, free: 27.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.2388, allocations: 35.05 kB / 483.6 MB, free: 27.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.587e-05/0.2389, allocations: 48.88 kB / 483.6 MB, free: 27.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.239, allocations: 61.33 kB / 483.7 MB, free: 27.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.239, allocations: 13.19 kB / 483.7 MB, free: 27.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.729e-05/0.239, allocations: 12.31 kB / 483.7 MB, free: 27.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.239, allocations: 26.44 kB / 483.7 MB, free: 27.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.2391, allocations: 58.23 kB / 483.8 MB, free: 27.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.2392, allocations: 131.8 kB / 483.9 MB, free: 27.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2392, allocations: 3.281 kB / 483.9 MB, free: 27.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2392, allocations: 0 / 483.9 MB, free: 27.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.2392, allocations: 0 / 483.9 MB, free: 27.7 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.0005163/0.2397, allocations: 463.8 kB / 484.4 MB, free: 27.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2398, allocations: 9.344 kB / 484.4 MB, free: 27.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.2398, allocations: 37.69 kB / 484.4 MB, free: 27.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.2398, allocations: 14.84 kB / 484.4 MB, free: 27.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.24, allocations: 226.4 kB / 484.7 MB, free: 26.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.24, allocations: 10.41 kB / 484.7 MB, free: 26.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.24, allocations: 10.34 kB / 484.7 MB, free: 26.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.2403, allocations: 112.8 kB / 484.8 MB, free: 26.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.2403, allocations: 0 / 484.8 MB, free: 26.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2403, allocations: 7.031 kB / 484.8 MB, free: 26.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2403, allocations: 3.938 kB / 484.8 MB, free: 26.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.2405, allocations: 73.73 kB / 484.9 MB, free: 26.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.2411, allocations: 0.4972 MB / 485.4 MB, free: 26.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.2412, allocations: 67.81 kB / 485.4 MB, free: 26.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/0.2413, allocations: 34.42 kB / 485.5 MB, free: 26.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2414, allocations: 0 / 485.5 MB, free: 26.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.2414, allocations: 37.16 kB / 485.5 MB, free: 26.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.2414, allocations: 3.938 kB / 485.5 MB, free: 26.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003652/0.2417, allocations: 129.6 kB / 485.6 MB, free: 26.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.881e-05/0.2418, allocations: 54.41 kB / 485.7 MB, free: 26.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2419, allocations: 175.5 kB / 485.9 MB, free: 26.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.2419, allocations: 25.7 kB / 485.9 MB, free: 26.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.2419, allocations: 120.8 kB / 486 MB, free: 25.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.2419, allocations: 14.83 kB / 486 MB, free: 25.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.242, allocations: 34.27 kB / 486.1 MB, free: 25.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.242, allocations: 325.3 kB / 486.4 MB, free: 25.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.757e-05/0.2421, allocations: 36.03 kB / 486.4 MB, free: 25.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.2422, allocations: 50.64 kB / 486.5 MB, free: 25.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.2424, allocations: 95.58 kB / 486.6 MB, free: 25.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2424, allocations: 0 / 486.6 MB, free: 25.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002438/0.2427, allocations: 136.3 kB / 486.7 MB, free: 25.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.2427, allocations: 9.969 kB / 486.7 MB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2427, allocations: 0 / 486.7 MB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2427, allocations: 3.062 kB / 486.7 MB, free: 25.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.2428, allocations: 39.12 kB / 486.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2428, allocations: 0 / 486.7 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.2429, allocations: 21.97 kB / 486.8 MB, free: 25.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.2429, allocations: 3.062 kB / 486.8 MB, free: 25.41 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 (13): * Single equations (assignments): 13 * 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 6.105e-05/0.243, allocations: 122.8 kB / 486.9 MB, free: 25.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.243, allocations: 10.95 kB / 486.9 MB, free: 25.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.243, allocations: 12.34 kB / 486.9 MB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.243, allocations: 2.938 kB / 486.9 MB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.243, allocations: 7.938 kB / 486.9 MB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.243, allocations: 3.422 kB / 486.9 MB, free: 25.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.2434, allocations: 398.2 kB / 487.3 MB, free: 24.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2434, allocations: 4.062 kB / 487.3 MB, free: 24.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.2437, allocations: 36.34 kB / 487.3 MB, free: 24.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2437, allocations: 0 / 487.3 MB, free: 24.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.2437, allocations: 4.031 kB / 487.3 MB, free: 24.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006243/0.2443, allocations: 1.402 MB / 488.8 MB, free: 23.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2443, allocations: 0 / 488.8 MB, free: 23.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.2446, allocations: 237.8 kB / 489 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.2446, allocations: 102.4 kB / 489.1 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2446, allocations: 0 / 489.1 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.2447, allocations: 13.34 kB / 489.1 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.2448, allocations: 3.516 kB / 489.1 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.2448, allocations: 3 kB / 489.1 MB, free: 23.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.247e-05/0.2448, allocations: 130.6 kB / 489.2 MB, free: 23.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2448, allocations: 0 / 489.2 MB, free: 23.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.2451, allocations: 21.11 kB / 489.3 MB, free: 23.06 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.0004581/0.2456, allocations: 0.7771 MB / 490 MB, free: 22.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.2458, allocations: 82.81 kB / 490.1 MB, free: 22.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2458, allocations: 0 / 490.1 MB, free: 22.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.246, allocations: 42.03 kB / 490.1 MB, free: 22.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.2464, allocations: 55.09 kB / 490.2 MB, free: 22.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.2481, allocations: 1.822 MB / 492 MB, free: 20.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.2482, allocations: 0.7115 MB / 492.7 MB, free: 20.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.37e-05/0.2483, allocations: 14.09 kB / 492.8 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.2484, allocations: 37.09 kB / 492.8 MB, free: 20.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2484, allocations: 0 / 492.8 MB, free: 20.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.2735, allocations: 3.121 MB / 495.9 MB, free: 19.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.72/7.993, allocations: 7.406 kB / 495.9 MB, free: 19.59 MB / 366.1 MB " [Timeout remaining time 652] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.321651188016403] Failed to read output from testmodel.py, exit status != 0: 8.059143374004634 8.071357215 7.829436775 Calling exit ...