Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 118.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo): time 0.008338/0.008338, allocations: 1.344 MB / 310.9 MB, free: 3.18 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BoundaryInitBlocks requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 71.08 kB / 434.6 MB, free: 40.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08445/0.08651, allocations: 53.63 MB / 488.2 MB, free: 16.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.00292/0.08943, allocations: 1.666 MB / 489.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.09051, allocations: 0.5517 MB / 490.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.09066, allocations: 1.469 kB / 490.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.09082, allocations: 21.98 kB / 490.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.0909, allocations: 29.84 kB / 490.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.09117, allocations: 76.23 kB / 490.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.09137, allocations: 112.8 kB / 490.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.09151, allocations: 29.91 kB / 490.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.09157, allocations: 34.39 kB / 490.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.09164, allocations: 48.81 kB / 490.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.09166, allocations: 7.312 kB / 490.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.09167, allocations: 6.344 kB / 490.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.09169, allocations: 22.66 kB / 490.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.558e-05/0.09174, allocations: 40.12 kB / 490.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.0919, allocations: 93.06 kB / 491 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.0919, allocations: 0 / 491 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0919, allocations: 1.406 kB / 491 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.09191, allocations: 0 / 491 MB, free: 13.92 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004604/0.09237, allocations: 418.5 kB / 491.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.09242, allocations: 10.59 kB / 491.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.137e-05/0.09244, allocations: 5.156 kB / 491.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.307e-05/0.09246, allocations: 38.03 kB / 491.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.0925, allocations: 10.64 kB / 491.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.09266, allocations: 204.2 kB / 491.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.09268, allocations: 11.56 kB / 491.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.0927, allocations: 5.812 kB / 491.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.09286, allocations: 97.58 kB / 491.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.09287, allocations: 0 / 491.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.09288, allocations: 9.219 kB / 491.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.09289, allocations: 2.406 kB / 491.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.09296, allocations: 31.89 kB / 491.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.0935, allocations: 0.5238 MB / 492.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.991e-05/0.09358, allocations: 28.64 kB / 492.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.09361, allocations: 17.45 kB / 492.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.09362, allocations: 5.344 kB / 492.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.09364, allocations: 35.61 kB / 492.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.09364, allocations: 4 kB / 492.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001746/0.09382, allocations: 58.19 kB / 492.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.09385, allocations: 56.66 kB / 492.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.09398, allocations: 166 kB / 492.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.09399, allocations: 28.08 kB / 492.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.09405, allocations: 117.1 kB / 492.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.09406, allocations: 23.61 kB / 492.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.09411, allocations: 29.31 kB / 492.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.09417, allocations: 322.8 kB / 493.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.0942, allocations: 33.73 kB / 493.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.126e-05/0.09426, allocations: 73.62 kB / 493.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.787e-05/0.09435, allocations: 103.5 kB / 493.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.09436, allocations: 1.344 kB / 493.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001868/0.09454, allocations: 139.6 kB / 493.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.09456, allocations: 5.875 kB / 493.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.09457, allocations: 2.156 kB / 493.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.09459, allocations: 3.469 kB / 493.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.09474, allocations: 29.73 kB / 493.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.09475, allocations: 3.75 kB / 493.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.09482, allocations: 15.42 kB / 493.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.09483, allocations: 6.594 kB / 493.6 MB, free: 11.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 16 * 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.754e-05/0.09489, allocations: 123.7 kB / 493.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.09493, allocations: 20.23 kB / 493.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.09496, allocations: 10.72 kB / 493.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.09496, allocations: 9.234 kB / 493.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.09496, allocations: 0 / 493.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.09497, allocations: 0 / 493.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.09523, allocations: 329.6 kB / 494.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.09523, allocations: 8 kB / 494.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.09531, allocations: 7.781 kB / 494.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.09531, allocations: 1.938 kB / 494.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.09532, allocations: 0 / 494.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.09532, allocations: 1.969 kB / 494.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.09533, allocations: 3.938 kB / 494.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.09546, allocations: 164.8 kB / 494.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.0955, allocations: 91.97 kB / 494.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.09552, allocations: 2.406 kB / 494.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.09558, allocations: 0 / 494.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.0956, allocations: 9.547 kB / 494.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.0956, allocations: 1.438 kB / 494.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.09568, allocations: 125.1 kB / 494.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09568, allocations: 0 / 494.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.09595, allocations: 22.11 kB / 494.5 MB, free: 10.49 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0002888/0.09624, allocations: 0.6998 MB / 495.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.09639, allocations: 54.27 kB / 495.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.09639, allocations: 4.438 kB / 495.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.561e-05/0.0964, allocations: 9.5 kB / 495.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.09683, allocations: 39.12 kB / 495.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.09819, allocations: 1.739 MB / 497 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.09832, allocations: 0.6981 MB / 497.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.716e-05/0.09838, allocations: 10.38 kB / 497.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.09843, allocations: 24.94 kB / 497.8 MB, free: 7.426 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.09843, allocations: 4 kB / 497.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.1242, allocations: 2.61 MB / 0.4887 GB, free: 5.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.407, allocations: 15.92 kB / 0.4887 GB, free: 5.891 MB / 350.1 MB " [Timeout remaining time 651] (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.093934848962817] Failed to read output from testmodel.py, exit status != 0: 8.53356349695241 8.546653674 8.451758422 Calling exit ...