Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.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: 114 kB / 18.14 MB, free: 3.781 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.001432/0.001432, allocations: 201.2 kB / 21.43 MB, free: 0.5 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.487/1.487, allocations: 225.6 MB / 250.2 MB, free: 13.25 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.008244/0.008244, allocations: 1.344 MB / 306.7 MB, free: 7.496 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_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 429.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08404/0.08598, allocations: 52.45 MB / 482.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003053/0.08903, allocations: 1.819 MB / 484.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.09004, allocations: 0.5533 MB / 484.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.09011, allocations: 3.938 kB / 484.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.09027, allocations: 23.8 kB / 484.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.542e-05/0.09035, allocations: 35.7 kB / 484.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.09063, allocations: 87.83 kB / 484.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.09087, allocations: 171.4 kB / 485 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.09101, allocations: 41.7 kB / 485.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.667e-05/0.09109, allocations: 55.78 kB / 485.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.785e-05/0.09119, allocations: 55.72 kB / 485.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.09122, allocations: 8 kB / 485.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.19e-05/0.09124, allocations: 12 kB / 485.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.09129, allocations: 27.91 kB / 485.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.09136, allocations: 63.59 kB / 485.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.09156, allocations: 131.4 kB / 485.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09156, allocations: 0 / 485.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09157, allocations: 0 / 485.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.09157, allocations: 0 / 485.4 MB, free: 12.52 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007087/0.09228, allocations: 458.6 kB / 485.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.09232, allocations: 12.03 kB / 485.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.09236, allocations: 42.73 kB / 485.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.0924, allocations: 12.84 kB / 485.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.09265, allocations: 208.9 kB / 486.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.09266, allocations: 8.375 kB / 486.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.09269, allocations: 8.375 kB / 486.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.09296, allocations: 129.8 kB / 486.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.09297, allocations: 0 / 486.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.09298, allocations: 4 kB / 486.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.09299, allocations: 4 kB / 486.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.09321, allocations: 63.94 kB / 486.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008439/0.09406, allocations: 0.5044 MB / 486.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.09425, allocations: 70.55 kB / 486.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.09436, allocations: 36.97 kB / 487 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.09437, allocations: 0 / 487 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.0944, allocations: 30.56 kB / 487 MB, free: 10.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.0944, allocations: 0 / 487 MB, free: 10.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004292/0.09483, allocations: 133.4 kB / 487.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.09487, allocations: 55.41 kB / 487.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.09504, allocations: 174.9 kB / 487.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.09506, allocations: 29.7 kB / 487.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.09513, allocations: 115.9 kB / 487.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.09516, allocations: 27.78 kB / 487.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.09522, allocations: 33.7 kB / 487.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.09536, allocations: 322.8 kB / 487.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.09548, allocations: 35.97 kB / 487.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.09561, allocations: 68.27 kB / 488 MB, free: 9.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.09586, allocations: 104.1 kB / 488.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.09587, allocations: 3.984 kB / 488.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003196/0.09618, allocations: 137.4 kB / 488.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.0962, allocations: 11.94 kB / 488.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.09621, allocations: 0 / 488.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.09623, allocations: 4 kB / 488.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.09649, allocations: 40.09 kB / 488.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.09768, allocations: 1.405 MB / 489.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/0.09777, allocations: 11.92 kB / 489.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.09779, allocations: 8 kB / 489.7 MB, free: 7.844 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 12 * 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 prepare postOptimizeDAE: time 0.0001199/0.09791, allocations: 133.6 kB / 489.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.09794, allocations: 11.91 kB / 489.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.09798, allocations: 21.5 kB / 489.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.09798, allocations: 0 / 489.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.09798, allocations: 0 / 489.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.09798, allocations: 0 / 489.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.09856, allocations: 399.2 kB / 490.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.09856, allocations: 0 / 490.2 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.09877, allocations: 36 kB / 490.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.09878, allocations: 0 / 490.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.09879, allocations: 4.094 kB / 490.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/0.09986, allocations: 1.408 MB / 491.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.09986, allocations: 0 / 491.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.1003, allocations: 240.5 kB / 491.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.1003, allocations: 93 kB / 492 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.1004, allocations: 8 kB / 492 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1005, allocations: 7.984 kB / 492 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.1005, allocations: 7.938 kB / 492 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.1005, allocations: 0 / 492 MB, free: 5.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1006, allocations: 132.3 kB / 492.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1006, allocations: 4.062 kB / 492.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1009, allocations: 23.94 kB / 492.2 MB, free: 5.086 MB / 350.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.0007387/0.1016, allocations: 0.7718 MB / 493 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003823/0.102, allocations: 95.75 kB / 493.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.102, allocations: 4 kB / 493.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.1022, allocations: 35.97 kB / 493.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.1027, allocations: 55.58 kB / 493.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.1051, allocations: 1.855 MB / 495 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.1054, allocations: 0.708 MB / 495.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.1055, allocations: 17.02 kB / 495.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.1056, allocations: 39.42 kB / 495.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1056, allocations: 0 / 495.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.1305, allocations: 3.156 MB / 498.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.138, allocations: 4.062 kB / 498.9 MB, free: 14.32 MB / 366.1 MB " [Timeout remaining time 652] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD_fmu --startTime=0 --stopTime=1000 --stepSize=2 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.65691629378125] Failed to read output from testmodel.py, exit status != 0: 8.20895047672093 8.225696176 8.130920729 Calling exit ...