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.001251/0.001251, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001331/0.001331, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 3.742 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.007912/0.007912, allocations: 1.339 MB / 304 MB, free: 3.539 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.001993/0.001993, allocations: 67.89 kB / 425.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2603, allocations: 52.45 MB / 477.8 MB, free: 28.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002431/0.2627, allocations: 1.798 MB / 479.6 MB, free: 27.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007639/0.2635, allocations: 0.5482 MB / 480.2 MB, free: 27.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.644e-05/0.2635, allocations: 0 / 480.2 MB, free: 27.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.2637, allocations: 21.94 kB / 480.2 MB, free: 27.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.756e-05/0.2637, allocations: 38.11 kB / 480.2 MB, free: 27.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.2639, allocations: 88.14 kB / 480.3 MB, free: 27.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.2641, allocations: 155 kB / 480.5 MB, free: 27.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2642, allocations: 40.58 kB / 480.5 MB, free: 27.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/0.2643, allocations: 52.98 kB / 480.6 MB, free: 27.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.2643, allocations: 56.42 kB / 480.6 MB, free: 27.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.2644, allocations: 17.22 kB / 480.6 MB, free: 27.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.753e-05/0.2644, allocations: 12.72 kB / 480.7 MB, free: 27.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.2644, allocations: 22.53 kB / 480.7 MB, free: 27.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.2644, allocations: 65.72 kB / 480.7 MB, free: 26.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.2646, allocations: 130.7 kB / 480.9 MB, free: 26.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2646, allocations: 4 kB / 480.9 MB, free: 26.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2646, allocations: 3.125 kB / 480.9 MB, free: 26.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.2646, allocations: 0 / 480.9 MB, free: 26.91 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.0005006/0.2651, allocations: 454.3 kB / 481.3 MB, free: 26.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2651, allocations: 10.22 kB / 481.3 MB, free: 26.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.2652, allocations: 41.91 kB / 481.4 MB, free: 26.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.2652, allocations: 15.16 kB / 481.4 MB, free: 26.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.2654, allocations: 210.1 kB / 481.6 MB, free: 26.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2654, allocations: 6.375 kB / 481.6 MB, free: 26.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.2654, allocations: 14.47 kB / 481.6 MB, free: 26.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.2656, allocations: 120.1 kB / 481.7 MB, free: 26.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2656, allocations: 4 kB / 481.7 MB, free: 26.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2656, allocations: 7.156 kB / 481.7 MB, free: 26.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2657, allocations: 0 / 481.7 MB, free: 26.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.2658, allocations: 64.48 kB / 481.8 MB, free: 26.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.2664, allocations: 0.5052 MB / 482.3 MB, free: 25.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.2666, allocations: 68.94 kB / 482.4 MB, free: 25.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.375e-05/0.2667, allocations: 35.03 kB / 482.4 MB, free: 25.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.2667, allocations: 3.984 kB / 482.4 MB, free: 25.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.2667, allocations: 40.98 kB / 482.5 MB, free: 25.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2667, allocations: 0 / 482.5 MB, free: 25.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003476/0.2671, allocations: 129.1 kB / 482.6 MB, free: 25.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.2671, allocations: 51.41 kB / 482.6 MB, free: 25.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2672, allocations: 170.5 kB / 482.8 MB, free: 25.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.2672, allocations: 29.7 kB / 482.8 MB, free: 25.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.2673, allocations: 120.4 kB / 482.9 MB, free: 25.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.2673, allocations: 22.23 kB / 483 MB, free: 25.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.2673, allocations: 27.16 kB / 483 MB, free: 25.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.2674, allocations: 324.2 kB / 483.3 MB, free: 24.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-05/0.2675, allocations: 32.95 kB / 483.3 MB, free: 24.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-05/0.2676, allocations: 61.02 kB / 483.4 MB, free: 24.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.2677, allocations: 96.27 kB / 483.5 MB, free: 24.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2677, allocations: 0 / 483.5 MB, free: 24.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002378/0.268, allocations: 135.3 kB / 483.6 MB, free: 24.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.268, allocations: 11.03 kB / 483.6 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.268, allocations: 3.125 kB / 483.6 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.268, allocations: 0 / 483.6 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.2682, allocations: 39.67 kB / 483.7 MB, free: 24.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.2682, allocations: 0 / 483.7 MB, free: 24.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.2682, allocations: 21.16 kB / 483.7 MB, free: 24.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.2683, allocations: 3.188 kB / 483.7 MB, free: 24.63 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.155e-05/0.2683, allocations: 123.7 kB / 483.8 MB, free: 24.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.2683, allocations: 10.77 kB / 483.8 MB, free: 24.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.2684, allocations: 19.27 kB / 483.9 MB, free: 24.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.2684, allocations: 3.094 kB / 483.9 MB, free: 24.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2684, allocations: 0 / 483.9 MB, free: 24.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2684, allocations: 0 / 483.9 MB, free: 24.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.2688, allocations: 403.4 kB / 484.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2688, allocations: 0 / 484.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.269, allocations: 34.62 kB / 484.3 MB, free: 24.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.269, allocations: 3.281 kB / 484.3 MB, free: 24.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.269, allocations: 0 / 484.3 MB, free: 24.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006568/0.2697, allocations: 1.401 MB / 485.7 MB, free: 22.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2697, allocations: 0 / 485.7 MB, free: 22.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.27, allocations: 246.2 kB / 485.9 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.27, allocations: 95.08 kB / 486 MB, free: 22.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.27, allocations: 6.688 kB / 486 MB, free: 22.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.2701, allocations: 10.45 kB / 486 MB, free: 22.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.2702, allocations: 10.36 kB / 486.1 MB, free: 22.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.2702, allocations: 3.062 kB / 486.1 MB, free: 22.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.985e-05/0.2702, allocations: 126 kB / 486.2 MB, free: 22.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2702, allocations: 0 / 486.2 MB, free: 22.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.2705, allocations: 28.52 kB / 486.2 MB, free: 22.27 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.0004637/0.2709, allocations: 0.7776 MB / 487 MB, free: 21.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.2712, allocations: 75.33 kB / 487.1 MB, free: 21.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2712, allocations: 3.094 kB / 487.1 MB, free: 21.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.2714, allocations: 41.44 kB / 487.1 MB, free: 21.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.2718, allocations: 55.53 kB / 487.2 MB, free: 21.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2734, allocations: 1.815 MB / 489 MB, free: 20.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.2735, allocations: 0.7131 MB / 489.7 MB, free: 19.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.2735, allocations: 10.22 kB / 489.7 MB, free: 19.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.2736, allocations: 44.89 kB / 489.7 MB, free: 19.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2736, allocations: 2.969 kB / 489.7 MB, free: 19.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.2998, allocations: 3.151 MB / 492.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.152, allocations: 6.5 kB / 492.9 MB, free: 18.83 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 --stepSize=2 --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.608145552221686] Failed to read output from testmodel.py, exit status != 0: 8.222098525147885 8.234264583 7.967186832 Calling exit ...