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.001751/0.001751, 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.001434/0.001435, allocations: 199 kB / 16.54 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008347/0.008347, allocations: 1.332 MB / 291.7 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 59.91 kB / 355.4 MB, free: 14.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2725, allocations: 49.74 MB / 405.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003478/0.276, allocations: 1.787 MB / 406.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009174/0.277, allocations: 0.5437 MB / 407.4 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.2771, allocations: 2.062 kB / 407.4 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.2773, allocations: 17.77 kB / 407.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.2774, allocations: 35.62 kB / 407.5 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.2776, allocations: 88.27 kB / 407.6 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.2779, allocations: 166.4 kB / 407.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.2781, allocations: 56.31 kB / 407.8 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.2782, allocations: 47.44 kB / 407.8 MB, free: 9.961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.2783, allocations: 61.2 kB / 407.9 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.2783, allocations: 10.44 kB / 407.9 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.848e-05/0.2783, allocations: 10.88 kB / 407.9 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.2784, allocations: 24.62 kB / 408 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.2784, allocations: 63.67 kB / 408 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.2786, allocations: 126.6 kB / 408.1 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.2786, allocations: 5.312 kB / 408.1 MB, free: 9.809 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2786, allocations: 0 / 408.1 MB, free: 9.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.2786, allocations: 0 / 408.1 MB, free: 9.809 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006081/0.2793, allocations: 445.6 kB / 408.6 MB, free: 9.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2793, allocations: 10.03 kB / 408.6 MB, free: 9.395 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.2793, allocations: 47.11 kB / 408.6 MB, free: 9.344 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.2794, allocations: 16.5 kB / 408.7 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.2796, allocations: 208.6 kB / 408.9 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2796, allocations: 5.531 kB / 408.9 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.2796, allocations: 15.12 kB / 408.9 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.2799, allocations: 124.7 kB / 409 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2799, allocations: 0 / 409 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.28, allocations: 5.031 kB / 409 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.28, allocations: 10.5 kB / 409 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.2802, allocations: 63.16 kB / 409.1 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.2809, allocations: 0.5115 MB / 409.6 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.2811, allocations: 70.16 kB / 409.7 MB, free: 8.531 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.2813, allocations: 36.41 kB / 409.7 MB, free: 8.516 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2813, allocations: 5.312 kB / 409.7 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.2813, allocations: 32.56 kB / 409.7 MB, free: 8.473 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2813, allocations: 0 / 409.7 MB, free: 8.473 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004459/0.2818, allocations: 127.9 kB / 409.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.2818, allocations: 52.56 kB / 409.9 MB, free: 8.348 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.282, allocations: 182.2 kB / 410.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.282, allocations: 30.89 kB / 410.1 MB, free: 8.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.2821, allocations: 122.8 kB / 410.2 MB, free: 8.066 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.2821, allocations: 16.92 kB / 410.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.2821, allocations: 29.23 kB / 410.3 MB, free: 8.031 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.2822, allocations: 325.6 kB / 410.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.2823, allocations: 29.44 kB / 410.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.2825, allocations: 70.19 kB / 410.7 MB, free: 7.652 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.2827, allocations: 101.7 kB / 410.8 MB, free: 7.586 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2827, allocations: 5.062 kB / 410.8 MB, free: 7.582 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003041/0.283, allocations: 144.1 kB / 410.9 MB, free: 7.508 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.2831, allocations: 10.62 kB / 410.9 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2831, allocations: 0.875 kB / 410.9 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2831, allocations: 2.312 kB / 411 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.2834, allocations: 36.84 kB / 411 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007027/0.2841, allocations: 1.407 MB / 412.4 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.114e-05/0.2842, allocations: 19.95 kB / 412.4 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.2842, allocations: 4.562 kB / 412.4 MB, free: 6.027 MB / 286.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 7.792e-05/0.2843, allocations: 128.2 kB / 412.5 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.2844, allocations: 12.62 kB / 412.6 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.2844, allocations: 15.11 kB / 412.6 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2844, allocations: 1.062 kB / 412.6 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.2844, allocations: 0 / 412.6 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2844, allocations: 0.5156 kB / 412.6 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.2849, allocations: 403.7 kB / 413 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2849, allocations: 0 / 413 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.2851, allocations: 42.78 kB / 413 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2851, allocations: 1.375 kB / 413 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2851, allocations: 4.734 kB / 413 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005755/0.2857, allocations: 1.397 MB / 414.4 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2857, allocations: 1.031 kB / 414.4 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.2861, allocations: 245.9 kB / 414.7 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.2861, allocations: 100.4 kB / 414.7 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.2862, allocations: 2.234 kB / 414.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2863, allocations: 10.02 kB / 414.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.2863, allocations: 9.5 kB / 414.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2863, allocations: 1.125 kB / 414.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.2864, allocations: 127.4 kB / 414.9 MB, free: 3.668 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2864, allocations: 0 / 414.9 MB, free: 3.668 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.2867, allocations: 25.05 kB / 414.9 MB, free: 3.664 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 (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.0005995/0.2873, allocations: 0.7804 MB / 415.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003911/0.2877, allocations: 90.81 kB / 415.8 MB, free: 2.934 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2877, allocations: 1.781 kB / 415.8 MB, free: 2.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.2879, allocations: 48.27 kB / 415.8 MB, free: 2.922 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.2884, allocations: 38.58 kB / 415.9 MB, free: 2.91 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.2902, allocations: 1.829 MB / 417.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2904, allocations: 0.7122 MB / 418.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.612e-05/0.2905, allocations: 15.03 kB / 418.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.2906, allocations: 42.34 kB / 418.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2906, allocations: 0 / 418.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.3177, allocations: 3.134 MB / 421.6 MB, free: 232 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.939, allocations: 8.406 kB / 421.6 MB, free: 228 kB / 286.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1)