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.001385/0.001385, allocations: 108 kB / 15.61 MB, free: 152 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.001337/0.001337, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008114/0.008114, allocations: 1.325 MB / 291.7 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.89 kB / 355.4 MB, free: 14.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.27, allocations: 49.73 MB / 405.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD): time 0.002887/0.273, allocations: 1.862 MB / 407 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.2738, allocations: 0.5443 MB / 407.5 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.2739, allocations: 2.219 kB / 407.5 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.2741, allocations: 17.14 kB / 407.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.093e-05/0.2741, allocations: 29.66 kB / 407.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.2744, allocations: 94.95 kB / 407.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.2746, allocations: 187.3 kB / 407.8 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.2747, allocations: 61.52 kB / 407.9 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.91e-05/0.2748, allocations: 50.67 kB / 408 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8e-05/0.2749, allocations: 64.28 kB / 408 MB, free: 10 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.2749, allocations: 10.53 kB / 408 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.383e-05/0.275, allocations: 9.75 kB / 408 MB, free: 10 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.275, allocations: 28.77 kB / 408.1 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.2751, allocations: 69.33 kB / 408.1 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.2752, allocations: 131.7 kB / 408.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.2753, allocations: 0 / 408.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2753, allocations: 0 / 408.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.2753, allocations: 1.188 kB / 408.3 MB, free: 9.875 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.0005181/0.2758, allocations: 453.5 kB / 408.7 MB, free: 9.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2758, allocations: 18.33 kB / 408.7 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.2759, allocations: 44.81 kB / 408.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.2759, allocations: 22.36 kB / 408.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.2761, allocations: 209.1 kB / 409 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2762, allocations: 9.984 kB / 409 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.2762, allocations: 12.88 kB / 409 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.2765, allocations: 134.8 kB / 409.1 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2765, allocations: 7.938 kB / 409.2 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2765, allocations: 4.969 kB / 409.2 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.2765, allocations: 3.094 kB / 409.2 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.2768, allocations: 65.47 kB / 409.2 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/0.2775, allocations: 0.5233 MB / 409.7 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.2777, allocations: 79.34 kB / 409.8 MB, free: 8.559 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.2778, allocations: 35.02 kB / 409.9 MB, free: 8.543 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.2779, allocations: 4 kB / 409.9 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2779, allocations: 32.03 kB / 409.9 MB, free: 8.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 2.615e-06/0.2779, allocations: 0 / 409.9 MB, free: 8.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003639/0.2783, allocations: 119.7 kB / 410 MB, free: 8.434 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.2783, allocations: 52.98 kB / 410.1 MB, free: 8.371 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.2785, allocations: 183 kB / 410.2 MB, free: 8.238 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2786, allocations: 26.36 kB / 410.3 MB, free: 8.207 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.2786, allocations: 129.6 kB / 410.4 MB, free: 8.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.2787, allocations: 30 kB / 410.4 MB, free: 8.066 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.2788, allocations: 39.8 kB / 410.5 MB, free: 8.039 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.2788, allocations: 321.9 kB / 410.8 MB, free: 7.723 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.2789, allocations: 46.27 kB / 410.8 MB, free: 7.699 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.279, allocations: 82.67 kB / 410.9 MB, free: 7.633 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.2792, allocations: 115.8 kB / 411 MB, free: 7.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2792, allocations: 4 kB / 411 MB, free: 7.547 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002769/0.2795, allocations: 161.6 kB / 411.2 MB, free: 7.465 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2796, allocations: 6.219 kB / 411.2 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.2796, allocations: 1.75 kB / 411.2 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.2796, allocations: 2.281 kB / 411.2 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.2798, allocations: 36.64 kB / 411.2 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.2798, allocations: 3.141 kB / 411.2 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.2799, allocations: 21.83 kB / 411.2 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.2799, allocations: 7.016 kB / 411.3 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001337/0.2801, allocations: 124.5 kB / 411.4 MB, free: 7.348 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.335e-05/0.2802, allocations: 76.8 kB / 411.5 MB, free: 7.285 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001697/0.2803, allocations: 115.8 kB / 411.6 MB, free: 7.199 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.2803, allocations: 0 / 411.6 MB, free: 7.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002635/0.2806, allocations: 155.2 kB / 411.7 MB, free: 7.125 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2806, allocations: 14.59 kB / 411.7 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2806, allocations: 9.219 kB / 411.7 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.2807, allocations: 6.203 kB / 411.7 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.2808, allocations: 36.55 kB / 411.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2808, allocations: 2.766 kB / 411.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.2809, allocations: 14.8 kB / 411.8 MB, free: 7.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.2809, allocations: 8.125 kB / 411.8 MB, free: 7.09 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 7.178e-05/0.281, allocations: 190.9 kB / 412 MB, free: 6.898 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.281, allocations: 19.81 kB / 412 MB, free: 6.887 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.2811, allocations: 13.61 kB / 412 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.2811, allocations: 0 / 412 MB, free: 6.879 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2811, allocations: 5.375 kB / 412 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2811, allocations: 0.7031 kB / 412 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.2816, allocations: 400.2 kB / 412.4 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2816, allocations: 0 / 412.4 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.2817, allocations: 18.22 kB / 412.4 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2817, allocations: 5.406 kB / 412.4 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.2817, allocations: 6.078 kB / 412.5 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2817, allocations: 1.375 kB / 412.5 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2817, allocations: 3.938 kB / 412.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.282, allocations: 224.9 kB / 412.7 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.2821, allocations: 100.9 kB / 412.8 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.2821, allocations: 5.438 kB / 412.8 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.2822, allocations: 3.359 kB / 412.8 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.2822, allocations: 9 kB / 412.8 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.2822, allocations: 1.375 kB / 412.8 MB, free: 6.215 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.2823, allocations: 130.7 kB / 412.9 MB, free: 6.125 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2823, allocations: 0 / 412.9 MB, free: 6.125 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.2827, allocations: 54.34 kB / 413 MB, free: 6.109 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.0004009/0.2831, allocations: 0.7582 MB / 413.7 MB, free: 5.406 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.2834, allocations: 150.8 kB / 413.9 MB, free: 5.363 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2834, allocations: 5.281 kB / 413.9 MB, free: 5.359 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.2835, allocations: 29.89 kB / 413.9 MB, free: 5.352 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.284, allocations: 50.42 kB / 414 MB, free: 5.332 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.2862, allocations: 1.882 MB / 415.8 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.2864, allocations: 0.7243 MB / 416.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.2865, allocations: 12.42 kB / 416.6 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.2866, allocations: 42.11 kB / 416.6 MB, free: 3.043 MB / 286.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2866, allocations: 0 / 416.6 MB, free: 3.043 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.316, allocations: 3.002 MB / 419.6 MB, free: 2.598 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.841, allocations: 5.531 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_CL_Simulation_OFF_BWD_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_CL_Simulation_OFF_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe 2>&1)