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.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.001333/0.001333, allocations: 116.1 kB / 17.17 MB, free: 6 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.00164/0.00164, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.523/1.523, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.007873/0.007873, allocations: 1.346 MB / 310.9 MB, free: 3.156 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.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="cs",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="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.002061/0.002061, allocations: 63.91 kB / 434.6 MB, free: 39.97 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.08814, allocations: 53.62 MB / 488.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.002543/0.09069, allocations: 1.803 MB / 490 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008806/0.09157, allocations: 0.5902 MB / 490.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.09164, allocations: 2.281 kB / 490.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.09178, allocations: 16.89 kB / 490.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.928e-05/0.09184, allocations: 35.94 kB / 490.7 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.09204, allocations: 81.83 kB / 490.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.09222, allocations: 162.4 kB / 490.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.09234, allocations: 37.55 kB / 491 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.09241, allocations: 60.47 kB / 491 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.09249, allocations: 58.45 kB / 491.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.09251, allocations: 10.25 kB / 491.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.153e-05/0.09253, allocations: 10.28 kB / 491.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.09256, allocations: 27.81 kB / 491.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.09261, allocations: 59.27 kB / 491.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.09276, allocations: 138.6 kB / 491.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.09276, allocations: 1.5 kB / 491.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09277, allocations: 0 / 491.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.09277, allocations: 0 / 491.3 MB, free: 13.62 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.0005405/0.09331, allocations: 452.1 kB / 491.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.09335, allocations: 14 kB / 491.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.069e-05/0.09337, allocations: 2.531 kB / 491.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.09339, allocations: 37.22 kB / 491.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.09343, allocations: 16.56 kB / 491.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.09359, allocations: 219.3 kB / 492 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.0936, allocations: 8.875 kB / 492.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.09363, allocations: 15.44 kB / 492.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.09386, allocations: 122 kB / 492.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.09387, allocations: 3.984 kB / 492.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.09388, allocations: 7.562 kB / 492.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.09389, allocations: 3.938 kB / 492.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.0941, allocations: 66.72 kB / 492.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.09474, allocations: 0.4987 MB / 492.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.09492, allocations: 71.83 kB / 492.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.09503, allocations: 36.77 kB / 492.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.09505, allocations: 1.031 kB / 492.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.09506, allocations: 35.72 kB / 492.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.09506, allocations: 0 / 492.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000404/0.09547, allocations: 130.8 kB / 493 MB, free: 12.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.09549, allocations: 51.41 kB / 493.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.09561, allocations: 179.6 kB / 493.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.09562, allocations: 27.17 kB / 493.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.09566, allocations: 122.1 kB / 493.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.09568, allocations: 22.62 kB / 493.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.09572, allocations: 30.89 kB / 493.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.09576, allocations: 325.6 kB / 493.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.09588, allocations: 38.34 kB / 493.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.096, allocations: 52.39 kB / 493.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.09621, allocations: 98.19 kB / 494 MB, free: 11.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.09621, allocations: 0 / 494 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002768/0.09649, allocations: 127.9 kB / 494.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.0965, allocations: 9.469 kB / 494.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.09651, allocations: 3.984 kB / 494.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.09652, allocations: 1.344 kB / 494.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.09669, allocations: 28.08 kB / 494.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.0967, allocations: 2.156 kB / 494.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.09678, allocations: 26.28 kB / 494.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.09679, allocations: 2.094 kB / 494.2 MB, free: 11.1 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 (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.19e-05/0.09685, allocations: 125.3 kB / 494.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.09689, allocations: 15 kB / 494.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.09692, allocations: 12.5 kB / 494.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.09692, allocations: 3.938 kB / 494.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.09692, allocations: 5.359 kB / 494.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.09693, allocations: 0 / 494.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.09736, allocations: 395.9 kB / 494.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.09736, allocations: 5.438 kB / 494.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.09761, allocations: 35.34 kB / 494.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.09761, allocations: 1.375 kB / 494.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.09762, allocations: 0 / 494.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006985/0.09832, allocations: 1.415 MB / 496.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.09832, allocations: 1.375 kB / 496.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.09871, allocations: 230 kB / 496.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.09875, allocations: 101.1 kB / 496.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.09877, allocations: 1.5 kB / 496.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.09888, allocations: 16.05 kB / 496.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.09892, allocations: 2.75 kB / 496.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.09892, allocations: 6.734 kB / 496.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.265e-05/0.099, allocations: 125.1 kB / 496.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.099, allocations: 0 / 496.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.09926, allocations: 21.25 kB / 496.7 MB, free: 8.633 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.0005321/0.0998, allocations: 0.7759 MB / 497.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.1001, allocations: 83.45 kB / 497.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1001, allocations: 1.25 kB / 497.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.1003, allocations: 42.64 kB / 497.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.1007, allocations: 36.25 kB / 497.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1026, allocations: 1.813 MB / 499.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.1027, allocations: 0.7164 MB / 0.4884 GB, free: 5.551 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.1028, allocations: 11.75 kB / 0.4884 GB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.1028, allocations: 38.3 kB / 0.4884 GB, free: 5.512 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1028, allocations: 0 / 0.4884 GB, free: 5.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.1225, allocations: 3.206 MB / 0.4916 GB, free: 2.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.678/8.8, allocations: 8 kB / 0.4916 GB, free: 2.801 MB / 350.1 MB " [Timeout remaining time 651] (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: 11.576130279980134] Failed to read output from testmodel.py, exit status != 0: 8.929059232003056 8.952872719 8.855548342 Calling exit ...