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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00751/0.00751, allocations: 94.8 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002691/0.002691, allocations: 206.4 kB / 16.68 MB, free: 5.973 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008066/0.008066, allocations: 1.318 MB / 291.9 MB, free: 0.9805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 69.06 kB / 405.8 MB, free: 8.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.09087, allocations: 49.74 MB / 455.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003199/0.0941, allocations: 1.787 MB / 457.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.09519, allocations: 0.5533 MB / 457.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.735e-05/0.09531, allocations: 4 kB / 457.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.09548, allocations: 19.73 kB / 457.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.687e-05/0.09557, allocations: 35.7 kB / 458 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.09584, allocations: 91.83 kB / 458 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.0961, allocations: 163.5 kB / 458.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.09628, allocations: 45.53 kB / 458.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.09639, allocations: 55.72 kB / 458.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.0965, allocations: 55.72 kB / 458.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.09653, allocations: 8 kB / 458.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.473e-05/0.09656, allocations: 12 kB / 458.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.0966, allocations: 23.92 kB / 458.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.09668, allocations: 67.55 kB / 458.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.0969, allocations: 135.6 kB / 458.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09691, allocations: 3.938 kB / 458.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.09692, allocations: 0 / 458.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.09693, allocations: 0 / 458.6 MB, free: 14.46 MB / 334.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.0007137/0.09765, allocations: 450.7 kB / 459 MB, free: 13.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.0977, allocations: 12.03 kB / 459.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.09775, allocations: 46.67 kB / 459.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.0978, allocations: 16.84 kB / 459.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.09808, allocations: 210.7 kB / 459.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.0981, allocations: 4.375 kB / 459.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.09814, allocations: 12.38 kB / 459.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.09844, allocations: 127.4 kB / 459.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.09846, allocations: 0 / 459.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.09848, allocations: 0 / 459.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.09849, allocations: 4 kB / 459.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.09873, allocations: 63.95 kB / 459.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/0.09962, allocations: 0.5005 MB / 460 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.09985, allocations: 86.39 kB / 460.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.09998, allocations: 32.97 kB / 460.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1, allocations: 8 kB / 460.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.1, allocations: 30.56 kB / 460.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1001, allocations: 0 / 460.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004506/0.1005, allocations: 133.4 kB / 460.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1006, allocations: 51.41 kB / 460.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1008, allocations: 170.9 kB / 460.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1008, allocations: 33.7 kB / 460.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.1009, allocations: 116 kB / 460.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.1009, allocations: 23.8 kB / 460.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.101, allocations: 29.7 kB / 460.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1012, allocations: 322.8 kB / 461 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1013, allocations: 31.97 kB / 461.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.1014, allocations: 72.27 kB / 461.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.1017, allocations: 104.2 kB / 461.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1017, allocations: 4.188 kB / 461.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003259/0.1021, allocations: 145.4 kB / 461.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1021, allocations: 7.938 kB / 461.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.1021, allocations: 8 kB / 461.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1021, allocations: 0 / 461.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.1024, allocations: 40.09 kB / 461.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.1037, allocations: 1.404 MB / 462.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.642e-05/0.1038, allocations: 7.953 kB / 462.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1038, allocations: 8 kB / 462.9 MB, free: 9.785 MB / 334.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.000119/0.1039, allocations: 124.8 kB / 463 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.104, allocations: 19.84 kB / 463 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.104, allocations: 13.41 kB / 463 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.104, allocations: 8.062 kB / 463 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.104, allocations: 0 / 463 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.104, allocations: 0 / 463 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.1046, allocations: 399.2 kB / 463.4 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1047, allocations: 3.938 kB / 463.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.1049, allocations: 31.97 kB / 463.5 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1049, allocations: 4.031 kB / 463.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.1049, allocations: 8 kB / 463.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.106, allocations: 1.408 MB / 464.9 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.106, allocations: 8.016 kB / 464.9 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.1065, allocations: 236.3 kB / 465.1 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/0.1066, allocations: 93.03 kB / 465.2 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.1066, allocations: 8 kB / 465.2 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1067, allocations: 7.984 kB / 465.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.1068, allocations: 0 / 465.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.1068, allocations: 4 kB / 465.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1069, allocations: 124.3 kB / 465.3 MB, free: 7.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1069, allocations: 3.938 kB / 465.3 MB, free: 7.059 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1072, allocations: 28.06 kB / 465.4 MB, free: 7.031 MB / 334.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.0007616/0.108, allocations: 0.7757 MB / 466.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003896/0.1084, allocations: 103.9 kB / 466.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1084, allocations: 3.938 kB / 466.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.1086, allocations: 39.97 kB / 466.3 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.1091, allocations: 40.62 kB / 466.3 MB, free: 6.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.1115, allocations: 1.836 MB / 468.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.1119, allocations: 0.708 MB / 468.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.43e-05/0.112, allocations: 12.88 kB / 468.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.14e-05/0.1121, allocations: 43.42 kB / 468.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1121, allocations: 0 / 468.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.1388, allocations: 3.191 MB / 472.1 MB, free: 316 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.181, allocations: 7.984 kB / 472.1 MB, free: 312 kB / 334.1 MB (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 & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1)