Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_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.001925/0.001924, 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.002192/0.002192, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.02096/0.02096, allocations: 1.333 MB / 291.7 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002973/0.002973, allocations: 67.89 kB / 355.4 MB, free: 14.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2735, allocations: 49.74 MB / 405.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003506/0.277, allocations: 1.668 MB / 406.8 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008872/0.2779, allocations: 0.5247 MB / 407.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.278, allocations: 9.406 kB / 407.3 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.2782, allocations: 21.7 kB / 407.3 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.637e-05/0.2783, allocations: 22.92 kB / 407.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.2785, allocations: 82.78 kB / 407.4 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.2787, allocations: 131.7 kB / 407.6 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.2789, allocations: 48.19 kB / 407.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.2789, allocations: 40.23 kB / 407.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.377e-05/0.279, allocations: 42.89 kB / 407.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.2791, allocations: 8.938 kB / 407.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.279e-05/0.2791, allocations: 8.844 kB / 407.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.2791, allocations: 29.05 kB / 407.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.2792, allocations: 54.02 kB / 407.8 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.2793, allocations: 110.5 kB / 407.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2793, allocations: 0 / 407.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2793, allocations: 1.156 kB / 407.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2794, allocations: 4 kB / 407.9 MB, free: 10.09 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004505/0.2798, allocations: 418 kB / 408.3 MB, free: 9.684 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2799, allocations: 9.875 kB / 408.3 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.909e-05/0.2799, allocations: 43.53 kB / 408.4 MB, free: 9.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.2799, allocations: 15.41 kB / 408.4 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.2801, allocations: 203.6 kB / 408.6 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.2802, allocations: 9.094 kB / 408.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.2802, allocations: 10.38 kB / 408.6 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.2804, allocations: 111.8 kB / 408.7 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2804, allocations: 4 kB / 408.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2804, allocations: 1.469 kB / 408.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2804, allocations: 1.75 kB / 408.7 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.2805, allocations: 35.33 kB / 408.8 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.2811, allocations: 0.5576 MB / 409.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.2812, allocations: 49.3 kB / 409.4 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.2812, allocations: 17.19 kB / 409.4 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.2813, allocations: 5.219 kB / 409.4 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.2813, allocations: 31.12 kB / 409.4 MB, free: 8.707 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2813, allocations: 1.25 kB / 409.4 MB, free: 8.707 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001994/0.2815, allocations: 76.41 kB / 409.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.2815, allocations: 53.59 kB / 409.5 MB, free: 8.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2817, allocations: 181.9 kB / 409.7 MB, free: 8.461 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.2817, allocations: 31.42 kB / 409.8 MB, free: 8.426 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.2817, allocations: 117.1 kB / 409.9 MB, free: 8.316 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.2818, allocations: 16.22 kB / 409.9 MB, free: 8.305 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.2818, allocations: 39.77 kB / 409.9 MB, free: 8.273 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.2819, allocations: 321.2 kB / 410.2 MB, free: 7.957 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.2819, allocations: 22.67 kB / 410.3 MB, free: 7.949 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.499e-05/0.282, allocations: 48.75 kB / 410.3 MB, free: 7.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.645e-05/0.2821, allocations: 80.75 kB / 410.4 MB, free: 7.848 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2821, allocations: 0 / 410.4 MB, free: 7.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001773/0.2823, allocations: 121.7 kB / 410.5 MB, free: 7.777 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2823, allocations: 9.344 kB / 410.5 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2823, allocations: 1.781 kB / 410.5 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.2824, allocations: 2.094 kB / 410.5 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.2825, allocations: 30.67 kB / 410.5 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2825, allocations: 2.219 kB / 410.5 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.2826, allocations: 15 kB / 410.6 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2826, allocations: 4 kB / 410.6 MB, free: 7.758 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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.966e-05/0.2827, allocations: 124.2 kB / 410.7 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.2827, allocations: 12.94 kB / 410.7 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.2828, allocations: 13.86 kB / 410.7 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2828, allocations: 0 / 410.7 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2828, allocations: 5.312 kB / 410.7 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.2828, allocations: 4.562 kB / 410.7 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.2831, allocations: 347.3 kB / 411.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2832, allocations: 1.625 kB / 411.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.2834, allocations: 21.66 kB / 411.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2834, allocations: 1 kB / 411.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2834, allocations: 1.094 kB / 411.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007862/0.2842, allocations: 1.417 MB / 412.5 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2842, allocations: 1.125 kB / 412.5 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.2843, allocations: 178.3 kB / 412.7 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.2844, allocations: 90.94 kB / 412.8 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2844, allocations: 1.281 kB / 412.8 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.2845, allocations: 14.16 kB / 412.8 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.2845, allocations: 7.859 kB / 412.8 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2845, allocations: 1.312 kB / 412.8 MB, free: 5.516 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.2846, allocations: 125.4 kB / 412.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2846, allocations: 0 / 412.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.2849, allocations: 26.41 kB / 412.9 MB, free: 5.422 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 (4): * Single equations (assignments): 3 * 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.0003319/0.2852, allocations: 0.7189 MB / 413.7 MB, free: 4.727 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.2854, allocations: 61.42 kB / 413.7 MB, free: 4.703 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2854, allocations: 1.031 kB / 413.7 MB, free: 4.703 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.2855, allocations: 23.7 kB / 413.7 MB, free: 4.699 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.286, allocations: 36.34 kB / 413.8 MB, free: 4.688 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.2876, allocations: 1.737 MB / 415.5 MB, free: 3.215 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.2878, allocations: 0.7022 MB / 416.2 MB, free: 2.52 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.31e-05/0.2878, allocations: 14.67 kB / 416.2 MB, free: 2.512 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.2879, allocations: 36.27 kB / 416.3 MB, free: 2.484 MB / 286.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2879, allocations: 3.938 kB / 416.3 MB, free: 2.48 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.3134, allocations: 2.801 MB / 419.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.972, allocations: 13.94 kB / 419.1 MB, free: 2.055 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1)