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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002267/0.002267, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008112/0.008112, allocations: 1.331 MB / 291.7 MB, free: 1.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.91 kB / 355.4 MB, free: 14.75 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 49.73 MB / 405.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003396/0.3389, allocations: 1.959 MB / 407.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009619/0.3399, allocations: 0.5628 MB / 407.6 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.34, allocations: 2.312 kB / 407.6 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.3402, allocations: 23.22 kB / 407.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.3403, allocations: 39.02 kB / 407.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.3406, allocations: 97.7 kB / 407.8 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.3408, allocations: 177.2 kB / 408 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.341, allocations: 61.23 kB / 408 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.341, allocations: 62.62 kB / 408.1 MB, free: 9.953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3412, allocations: 64.58 kB / 408.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.3412, allocations: 11.12 kB / 408.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.846e-05/0.3412, allocations: 16.66 kB / 408.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.3413, allocations: 24.75 kB / 408.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/0.3414, allocations: 75.2 kB / 408.3 MB, free: 9.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.3416, allocations: 141.1 kB / 408.4 MB, free: 9.789 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3416, allocations: 7.875 kB / 408.4 MB, free: 9.781 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3416, allocations: 4 kB / 408.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3416, allocations: 0.9688 kB / 408.4 MB, free: 9.777 MB / 286.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.0006122/0.3422, allocations: 468.5 kB / 408.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3423, allocations: 9.25 kB / 408.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.3423, allocations: 45.61 kB / 408.9 MB, free: 9.301 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.3424, allocations: 21.97 kB / 409 MB, free: 9.289 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3426, allocations: 217.1 kB / 409.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.3426, allocations: 10.38 kB / 409.2 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.3427, allocations: 21.16 kB / 409.2 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.3429, allocations: 131.1 kB / 409.3 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3429, allocations: 0 / 409.3 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3429, allocations: 6.125 kB / 409.3 MB, free: 8.965 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.343, allocations: 1.938 kB / 409.3 MB, free: 8.965 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.3431, allocations: 64.81 kB / 409.4 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007361/0.3439, allocations: 0.5369 MB / 409.9 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.3441, allocations: 89.94 kB / 410 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.025e-05/0.3442, allocations: 41.22 kB / 410.1 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3442, allocations: 4.969 kB / 410.1 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.3442, allocations: 33.17 kB / 410.1 MB, free: 8.391 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.3442, allocations: 0 / 410.1 MB, free: 8.391 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003275/0.3445, allocations: 131.1 kB / 410.2 MB, free: 8.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.3446, allocations: 56.44 kB / 410.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.3448, allocations: 180.4 kB / 410.5 MB, free: 8.125 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.3448, allocations: 30.95 kB / 410.5 MB, free: 8.09 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.3448, allocations: 125.5 kB / 410.6 MB, free: 7.977 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.3449, allocations: 34.89 kB / 410.7 MB, free: 7.949 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.3449, allocations: 37.5 kB / 410.7 MB, free: 7.922 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.349e-05/0.345, allocations: 322 kB / 411 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.605e-05/0.3451, allocations: 40.52 kB / 411 MB, free: 7.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.994e-05/0.3452, allocations: 64.27 kB / 411.1 MB, free: 7.551 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3454, allocations: 91.17 kB / 411.2 MB, free: 7.496 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.3454, allocations: 0.9062 kB / 411.2 MB, free: 7.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002404/0.3456, allocations: 155.9 kB / 411.3 MB, free: 7.414 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3457, allocations: 5.656 kB / 411.4 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.3457, allocations: 6.266 kB / 411.4 MB, free: 7.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3457, allocations: 5.531 kB / 411.4 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.3459, allocations: 35.38 kB / 411.4 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3459, allocations: 1.812 kB / 411.4 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.346, allocations: 16.66 kB / 411.4 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.346, allocations: 4.812 kB / 411.4 MB, free: 7.395 MB / 286.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 8.502e-05/0.3461, allocations: 135.7 kB / 411.6 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.3461, allocations: 19.22 kB / 411.6 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.3462, allocations: 17.77 kB / 411.6 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3462, allocations: 2.156 kB / 411.6 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3462, allocations: 0 / 411.6 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3462, allocations: 0.6562 kB / 411.6 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.3467, allocations: 420.7 kB / 412 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3467, allocations: 4.031 kB / 412 MB, free: 6.871 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.347, allocations: 34.75 kB / 412 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.347, allocations: 1.969 kB / 412 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.347, allocations: 0.5625 kB / 412 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000717/0.3477, allocations: 1.406 MB / 413.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3477, allocations: 1.438 kB / 413.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.348, allocations: 249.8 kB / 413.7 MB, free: 5.211 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.3481, allocations: 97.31 kB / 413.8 MB, free: 5.105 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.3481, allocations: 10.27 kB / 413.8 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.3482, allocations: 1.953 kB / 413.8 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.3483, allocations: 10.48 kB / 413.8 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3483, allocations: 6.531 kB / 413.8 MB, free: 5.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.3484, allocations: 135.1 kB / 413.9 MB, free: 4.996 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3484, allocations: 1.375 kB / 414 MB, free: 4.996 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.3486, allocations: 28.36 kB / 414 MB, free: 4.992 MB / 286.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.0004885/0.3491, allocations: 0.7843 MB / 414.8 MB, free: 4.273 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.3494, allocations: 89.84 kB / 414.9 MB, free: 4.246 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3494, allocations: 0 / 414.9 MB, free: 4.246 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.3496, allocations: 47.28 kB / 414.9 MB, free: 4.234 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.3501, allocations: 50.69 kB / 414.9 MB, free: 4.215 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.352, allocations: 1.939 MB / 416.9 MB, free: 2.672 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.3522, allocations: 0.7203 MB / 417.6 MB, free: 1.973 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.715e-05/0.3522, allocations: 11.64 kB / 417.6 MB, free: 1.973 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.3523, allocations: 45.52 kB / 417.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3523, allocations: 0 / 417.7 MB, free: 1.941 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.3816, allocations: 3.442 MB / 421.1 MB, free: 1.477 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.142, allocations: 6.5 kB / 421.1 MB, free: 1.477 MB / 286.1 MB (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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1)