Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_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.NonInvertibleConfig.CL_Simulation_OFF_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_CL_Simulation_OFF_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_CL_Simulation_OFF_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.001734/0.001734, allocations: 104 kB / 15.6 MB, free: 148 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.001933/0.001933, allocations: 192.7 kB / 16.53 MB, free: 6.625 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.603/1.603, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008401/0.008401, allocations: 1.328 MB / 291.7 MB, free: 1 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 64.12 kB / 355.4 MB, free: 14.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2721, allocations: 49.73 MB / 405.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD): time 0.00369/0.2758, allocations: 1.872 MB / 407 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.2771, allocations: 0.5393 MB / 407.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.2773, allocations: 2.625 kB / 407.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.2776, allocations: 25.42 kB / 407.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.23e-05/0.2776, allocations: 24.31 kB / 407.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.278, allocations: 96 kB / 407.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.2784, allocations: 183.3 kB / 407.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.2786, allocations: 64.94 kB / 407.9 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.2787, allocations: 48.78 kB / 408 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.2788, allocations: 65.73 kB / 408 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.2789, allocations: 11.34 kB / 408 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.843e-05/0.2789, allocations: 10.03 kB / 408 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.279, allocations: 24.84 kB / 408.1 MB, free: 9.977 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.741e-05/0.2791, allocations: 67.84 kB / 408.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.2793, allocations: 133 kB / 408.3 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2793, allocations: 0 / 408.3 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2794, allocations: 0 / 408.3 MB, free: 9.867 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2794, allocations: 0 / 408.3 MB, free: 9.867 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006366/0.28, allocations: 453.1 kB / 408.7 MB, free: 9.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.2801, allocations: 13.89 kB / 408.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.789e-05/0.2801, allocations: 45.55 kB / 408.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.2802, allocations: 22.06 kB / 408.8 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.2804, allocations: 213.7 kB / 409 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.2805, allocations: 9.172 kB / 409 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.2805, allocations: 14.5 kB / 409 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.2808, allocations: 129.5 kB / 409.1 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2808, allocations: 3.938 kB / 409.1 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.2808, allocations: 5.188 kB / 409.2 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.2809, allocations: 3.5 kB / 409.2 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.281, allocations: 70.25 kB / 409.2 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.2818, allocations: 0.5211 MB / 409.7 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.282, allocations: 75.27 kB / 409.8 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-05/0.2821, allocations: 42.52 kB / 409.9 MB, free: 8.535 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.2822, allocations: 1.562 kB / 409.9 MB, free: 8.535 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.2822, allocations: 37.48 kB / 409.9 MB, free: 8.492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.2822, allocations: 3.938 kB / 409.9 MB, free: 8.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003826/0.2826, allocations: 110.9 kB / 410 MB, free: 8.43 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.2826, allocations: 52.56 kB / 410.1 MB, free: 8.367 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.2829, allocations: 183 kB / 410.2 MB, free: 8.234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2829, allocations: 29.7 kB / 410.3 MB, free: 8.199 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.283, allocations: 126.6 kB / 410.4 MB, free: 8.086 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.2831, allocations: 30.19 kB / 410.4 MB, free: 8.062 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.2831, allocations: 39.06 kB / 410.5 MB, free: 8.035 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2833, allocations: 325.9 kB / 410.8 MB, free: 7.715 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.2834, allocations: 49.7 kB / 410.8 MB, free: 7.688 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.2835, allocations: 74.88 kB / 410.9 MB, free: 7.629 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.2837, allocations: 119.3 kB / 411 MB, free: 7.543 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2837, allocations: 0 / 411 MB, free: 7.543 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003171/0.2841, allocations: 157.6 kB / 411.2 MB, free: 7.465 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.2841, allocations: 10.53 kB / 411.2 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2841, allocations: 1.219 kB / 411.2 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.2841, allocations: 2.312 kB / 411.2 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.2843, allocations: 40.06 kB / 411.2 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2843, allocations: 2.562 kB / 411.2 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.2844, allocations: 19.08 kB / 411.2 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.2845, allocations: 8.5 kB / 411.3 MB, free: 7.438 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001353/0.2846, allocations: 124.7 kB / 411.4 MB, free: 7.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001162/0.2847, allocations: 84.44 kB / 411.5 MB, free: 7.273 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001805/0.2849, allocations: 119.5 kB / 411.6 MB, free: 7.184 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.2849, allocations: 1.094 kB / 411.6 MB, free: 7.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002548/0.2852, allocations: 155.2 kB / 411.7 MB, free: 7.109 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.2852, allocations: 5.469 kB / 411.7 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.2852, allocations: 5.156 kB / 411.7 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/0.2852, allocations: 2.953 kB / 411.7 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2854, allocations: 36.12 kB / 411.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2854, allocations: 10.88 kB / 411.8 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.2854, allocations: 17.41 kB / 411.8 MB, free: 7.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2855, allocations: 5.219 kB / 411.8 MB, free: 7.082 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 20 * 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.795e-05/0.2855, allocations: 187.5 kB / 412 MB, free: 6.895 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.2856, allocations: 15.09 kB / 412 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.2856, allocations: 17.03 kB / 412 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2856, allocations: 1.812 kB / 412 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2856, allocations: 0 / 412 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2856, allocations: 0.6094 kB / 412 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000457/0.2861, allocations: 403.7 kB / 412.4 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2861, allocations: 1.859 kB / 412.4 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.2862, allocations: 22.09 kB / 412.4 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2863, allocations: 5.031 kB / 412.4 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2863, allocations: 1.219 kB / 412.4 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2863, allocations: 1.938 kB / 412.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2863, allocations: 0 / 412.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.2866, allocations: 233.1 kB / 412.7 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.2866, allocations: 96.86 kB / 412.8 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.2867, allocations: 5.75 kB / 412.8 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.2868, allocations: 2.75 kB / 412.8 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.2868, allocations: 8.172 kB / 412.8 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.2868, allocations: 2.25 kB / 412.8 MB, free: 6.211 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.734e-05/0.2869, allocations: 139 kB / 412.9 MB, free: 6.113 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2869, allocations: 0 / 412.9 MB, free: 6.113 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.2873, allocations: 49.12 kB / 413 MB, free: 6.102 MB / 286.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 (8): * Single equations (assignments): 8 * 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.000451/0.2878, allocations: 0.7597 MB / 413.7 MB, free: 5.398 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.2881, allocations: 147.1 kB / 413.9 MB, free: 5.359 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2881, allocations: 0 / 413.9 MB, free: 5.359 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.951e-05/0.2882, allocations: 34.75 kB / 413.9 MB, free: 5.348 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.2887, allocations: 42.89 kB / 414 MB, free: 5.332 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.2905, allocations: 1.886 MB / 415.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.2907, allocations: 0.7177 MB / 416.6 MB, free: 3.078 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.757e-05/0.2908, allocations: 17.42 kB / 416.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.2909, allocations: 49.69 kB / 416.6 MB, free: 3.035 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2909, allocations: 0 / 416.6 MB, free: 3.035 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.3179, allocations: 2.989 MB / 419.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/8.109, allocations: 9.5 kB / 419.6 MB, free: 2.59 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_CL_Simulation_OFF_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe 2>&1)