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.0018/0.0018, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.002102/0.002102, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.008181/0.008181, allocations: 1.345 MB / 304 MB, free: 8.559 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.003271/0.003271, allocations: 67.89 kB / 425.4 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1227, allocations: 52.45 MB / 477.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.005611/0.1283, allocations: 1.966 MB / 479.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.13, allocations: 0.5728 MB / 480.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.1302, allocations: 4 kB / 480.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1304, allocations: 19.73 kB / 480.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.1305, allocations: 47.66 kB / 480.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.1309, allocations: 95.8 kB / 480.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.1313, allocations: 179.3 kB / 480.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.1315, allocations: 52.25 kB / 480.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1317, allocations: 67.66 kB / 480.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1319, allocations: 63.64 kB / 480.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.137e-05/0.1319, allocations: 15.94 kB / 480.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.758e-05/0.1319, allocations: 12 kB / 480.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.132, allocations: 27.91 kB / 481 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1321, allocations: 75.55 kB / 481 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.1324, allocations: 155.2 kB / 481.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1324, allocations: 4 kB / 481.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1324, allocations: 0 / 481.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.1325, allocations: 0 / 481.2 MB, free: 13.8 MB / 350.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.0009437/0.1334, allocations: 474.5 kB / 481.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.1334, allocations: 8.031 kB / 481.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.902e-05/0.1335, allocations: 50.73 kB / 481.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.1336, allocations: 16.84 kB / 481.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.134, allocations: 224.6 kB / 481.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.1341, allocations: 12.31 kB / 481.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.1341, allocations: 12.38 kB / 482 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.1345, allocations: 128.3 kB / 482.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.1345, allocations: 4 kB / 482.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1345, allocations: 4 kB / 482.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1345, allocations: 8 kB / 482.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.1348, allocations: 59.95 kB / 482.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.136, allocations: 0.5395 MB / 482.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.1362, allocations: 82.56 kB / 482.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1364, allocations: 48.95 kB / 482.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1364, allocations: 3.938 kB / 482.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.1364, allocations: 30.56 kB / 482.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.175e-06/0.1364, allocations: 7.938 kB / 482.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005133/0.137, allocations: 125.5 kB / 483 MB, free: 11.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.137, allocations: 55.39 kB / 483 MB, free: 11.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.1373, allocations: 182.3 kB / 483.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.1373, allocations: 29.7 kB / 483.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.1375, allocations: 128.3 kB / 483.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.1375, allocations: 32.11 kB / 483.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1376, allocations: 41.66 kB / 483.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.1378, allocations: 322.8 kB / 483.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.138, allocations: 39.98 kB / 483.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1381, allocations: 62.48 kB / 483.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.1384, allocations: 92.47 kB / 484 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1384, allocations: 0 / 484 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004845/0.1389, allocations: 153.4 kB / 484.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1389, allocations: 8 kB / 484.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1389, allocations: 0 / 484.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.139, allocations: 0 / 484.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.1393, allocations: 43.92 kB / 484.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1393, allocations: 0 / 484.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.1394, allocations: 15.88 kB / 484.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1394, allocations: 8 kB / 484.2 MB, free: 10.54 MB / 350.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 0.000163/0.1396, allocations: 129.8 kB / 484.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.1396, allocations: 15.84 kB / 484.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.1397, allocations: 17.41 kB / 484.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1397, allocations: 4 kB / 484.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1397, allocations: 0 / 484.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1397, allocations: 7.922 kB / 484.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000847/0.1406, allocations: 415.2 kB / 484.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1406, allocations: 0 / 484.8 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.1409, allocations: 47.94 kB / 484.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1409, allocations: 0 / 484.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.141, allocations: 0 / 484.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.1427, allocations: 1.397 MB / 486.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1427, allocations: 0 / 486.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.1432, allocations: 252.3 kB / 486.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.1433, allocations: 101 kB / 486.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.1434, allocations: 3.938 kB / 486.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1435, allocations: 8 kB / 486.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.1436, allocations: 7.984 kB / 486.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1436, allocations: 4 kB / 486.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.1438, allocations: 140.3 kB / 486.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1438, allocations: 0 / 486.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004806/0.1443, allocations: 36.02 kB / 486.7 MB, free: 7.734 MB / 350.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.0009318/0.1452, allocations: 0.7757 MB / 487.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.1456, allocations: 84.52 kB / 487.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1456, allocations: 3.938 kB / 487.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.1458, allocations: 39.98 kB / 487.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.1465, allocations: 50.98 kB / 487.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.1502, allocations: 1.94 MB / 489.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.1507, allocations: 0.7163 MB / 490.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.1508, allocations: 17.08 kB / 490.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.1509, allocations: 47.42 kB / 490.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1509, allocations: 0 / 490.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.1845, allocations: 3.535 MB / 493.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.294, allocations: 4 kB / 493.9 MB, free: 0.5664 MB / 350.1 MB " [Timeout remaining time 652] (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 --stepSize=0.6 --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: 10.786281135864556] Failed to read output from testmodel.py, exit status != 0: 8.366813865024596 8.38633485 8.250030975 Calling exit ...