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 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS since it seems broken on HelloWorld 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.001467/0.001467, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001507/0.001507, allocations: 194.3 kB / 16.25 MB, free: 6.629 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.02953/0.02953, allocations: 1.329 MB / 291.4 MB, free: 1.172 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 67.91 kB / 354.8 MB, free: 15.1 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.293, allocations: 49.72 MB / 404.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.002876/0.2959, allocations: 1.741 MB / 406.3 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000851/0.2968, allocations: 0.5361 MB / 406.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.2969, allocations: 2.469 kB / 406.8 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.297, allocations: 20.67 kB / 406.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.2971, allocations: 22.47 kB / 406.9 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.2973, allocations: 81.25 kB / 407 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.2975, allocations: 127 kB / 407.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.2976, allocations: 46.81 kB / 407.1 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.285e-05/0.2977, allocations: 44.45 kB / 407.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.613e-05/0.2978, allocations: 47.36 kB / 407.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.2978, allocations: 8.594 kB / 407.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/0.2978, allocations: 11.66 kB / 407.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.2979, allocations: 19.89 kB / 407.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.2979, allocations: 52.62 kB / 407.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.2981, allocations: 114.7 kB / 407.4 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2981, allocations: 0 / 407.4 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2981, allocations: 1.781 kB / 407.4 MB, free: 10 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.2981, allocations: 0 / 407.4 MB, free: 10 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.0004394/0.2986, allocations: 422.4 kB / 407.8 MB, free: 9.594 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2986, allocations: 8.906 kB / 407.8 MB, free: 9.594 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.2987, allocations: 43.73 kB / 407.9 MB, free: 9.547 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.2987, allocations: 15.22 kB / 407.9 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.2989, allocations: 203.6 kB / 408.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.2989, allocations: 8.094 kB / 408.1 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.2989, allocations: 10.97 kB / 408.1 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.2991, allocations: 102.6 kB / 408.2 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2991, allocations: 0 / 408.2 MB, free: 9.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2991, allocations: 5.094 kB / 408.2 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2991, allocations: 6.594 kB / 408.2 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.2992, allocations: 38.8 kB / 408.3 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.2998, allocations: 0.5506 MB / 408.8 MB, free: 8.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.598e-05/0.2999, allocations: 48.14 kB / 408.9 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.3, allocations: 18.47 kB / 408.9 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.3, allocations: 4.906 kB / 408.9 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.3, allocations: 31.62 kB / 408.9 MB, free: 8.625 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3, allocations: 0 / 408.9 MB, free: 8.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001914/0.3002, allocations: 81.52 kB / 409 MB, free: 8.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.3002, allocations: 52.16 kB / 409.1 MB, free: 8.504 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3004, allocations: 178.2 kB / 409.2 MB, free: 8.379 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3004, allocations: 28.33 kB / 409.3 MB, free: 8.348 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.3005, allocations: 112.3 kB / 409.4 MB, free: 8.242 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.3005, allocations: 21.02 kB / 409.4 MB, free: 8.227 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.3005, allocations: 39.67 kB / 409.4 MB, free: 8.195 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.15e-05/0.3006, allocations: 320.4 kB / 409.7 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.3006, allocations: 26.62 kB / 409.8 MB, free: 7.867 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-05/0.3007, allocations: 57.58 kB / 409.8 MB, free: 7.82 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.155e-05/0.3008, allocations: 78.83 kB / 409.9 MB, free: 7.758 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3008, allocations: 1.062 kB / 409.9 MB, free: 7.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001723/0.301, allocations: 118 kB / 410 MB, free: 7.691 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.301, allocations: 12.03 kB / 410 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.301, allocations: 1.031 kB / 410 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.301, allocations: 2.047 kB / 410 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.3012, allocations: 27.06 kB / 410.1 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3012, allocations: 5.75 kB / 410.1 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.281e-05/0.3013, allocations: 15.12 kB / 410.1 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3013, allocations: 4.125 kB / 410.1 MB, free: 7.672 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 6.233e-05/0.3013, allocations: 120.4 kB / 410.2 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.3014, allocations: 13.31 kB / 410.2 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.3014, allocations: 20.34 kB / 410.2 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3014, allocations: 1.812 kB / 410.2 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3014, allocations: 0 / 410.2 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3014, allocations: 0.5625 kB / 410.2 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.3017, allocations: 352.9 kB / 410.6 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3017, allocations: 0 / 410.6 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.3019, allocations: 26.56 kB / 410.6 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3019, allocations: 1.062 kB / 410.6 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3019, allocations: 1.031 kB / 410.6 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006801/0.3026, allocations: 1.401 MB / 412 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3026, allocations: 2.031 kB / 412 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.3028, allocations: 185 kB / 412.2 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.3028, allocations: 91.11 kB / 412.3 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3028, allocations: 5.641 kB / 412.3 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.3029, allocations: 5.031 kB / 412.3 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.3029, allocations: 7.625 kB / 412.3 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.303, allocations: 1.703 kB / 412.3 MB, free: 5.438 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.823e-05/0.3031, allocations: 128.6 kB / 412.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3031, allocations: 4.062 kB / 412.4 MB, free: 5.344 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.3033, allocations: 27.25 kB / 412.5 MB, free: 5.336 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.0002931/0.3036, allocations: 0.7137 MB / 413.2 MB, free: 4.645 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.3038, allocations: 59.12 kB / 413.2 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3038, allocations: 0 / 413.2 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.3039, allocations: 24.09 kB / 413.2 MB, free: 4.621 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.3043, allocations: 40.95 kB / 413.3 MB, free: 4.605 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3058, allocations: 1.76 MB / 415 MB, free: 3.105 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.3059, allocations: 0.7077 MB / 415.8 MB, free: 2.406 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.042e-05/0.306, allocations: 14.31 kB / 415.8 MB, free: 2.398 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.3061, allocations: 32.25 kB / 415.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3061, allocations: 0 / 415.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.338, allocations: 2.729 MB / 418.5 MB, free: 2.066 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.3382, allocations: 250.5 kB / 418.8 MB, free: 1.809 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.123, allocations: 1.094 kB / 418.8 MB, free: 1.809 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)