Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_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.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_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.001908/0.001908, 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.002259/0.002259, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.541/1.541, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.01204/0.01204, allocations: 1.335 MB / 291.7 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 63.91 kB / 356.1 MB, free: 14.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3269, allocations: 49.72 MB / 405.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.002778/0.3297, allocations: 1.665 MB / 407.5 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.3306, allocations: 0.5197 MB / 408 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.3306, allocations: 1.906 kB / 408 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.3308, allocations: 21.28 kB / 408 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.928e-05/0.3309, allocations: 20.44 kB / 408 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.3311, allocations: 81.84 kB / 408.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.3313, allocations: 124.4 kB / 408.2 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.3315, allocations: 53.52 kB / 408.3 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.3315, allocations: 37.33 kB / 408.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.029e-05/0.3316, allocations: 44.59 kB / 408.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.3316, allocations: 7.656 kB / 408.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.849e-05/0.3317, allocations: 7.312 kB / 408.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.3317, allocations: 18.25 kB / 408.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.3318, allocations: 47.47 kB / 408.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.3319, allocations: 95.28 kB / 408.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3319, allocations: 0.8438 kB / 408.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3319, allocations: 0 / 408.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3319, allocations: 3.938 kB / 408.5 MB, free: 10.47 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.0004783/0.3324, allocations: 415.1 kB / 409 MB, free: 10.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3325, allocations: 13.62 kB / 409 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.32e-05/0.3325, allocations: 39.84 kB / 409 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.3326, allocations: 19.59 kB / 409 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.3328, allocations: 204.7 kB / 409.2 MB, free: 9.793 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.3328, allocations: 12.48 kB / 409.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3328, allocations: 14.88 kB / 409.2 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.333, allocations: 91.84 kB / 409.3 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3331, allocations: 4.594 kB / 409.3 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3331, allocations: 5.062 kB / 409.3 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3331, allocations: 2.094 kB / 409.4 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.3332, allocations: 43.19 kB / 409.4 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.3338, allocations: 470.9 kB / 409.9 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.334, allocations: 60.67 kB / 409.9 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.334, allocations: 18.14 kB / 409.9 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.3341, allocations: 5.062 kB / 409.9 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.3341, allocations: 36.36 kB / 410 MB, free: 9.184 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.3341, allocations: 0 / 410 MB, free: 9.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002026/0.3343, allocations: 70.38 kB / 410 MB, free: 9.137 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.3343, allocations: 52.02 kB / 410.1 MB, free: 9.074 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3345, allocations: 159.8 kB / 410.2 MB, free: 8.953 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.3345, allocations: 25.7 kB / 410.3 MB, free: 8.922 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.3346, allocations: 134.4 kB / 410.4 MB, free: 8.797 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.3346, allocations: 12.2 kB / 410.4 MB, free: 8.789 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.3346, allocations: 28.7 kB / 410.4 MB, free: 8.766 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.3347, allocations: 321.2 kB / 410.8 MB, free: 8.449 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.3347, allocations: 19.66 kB / 410.8 MB, free: 8.441 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.3348, allocations: 71.88 kB / 410.8 MB, free: 8.371 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.359e-05/0.3349, allocations: 89.45 kB / 410.9 MB, free: 8.289 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3349, allocations: 5 kB / 410.9 MB, free: 8.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001655/0.3351, allocations: 118.3 kB / 411.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3351, allocations: 6.359 kB / 411.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3351, allocations: 1.5 kB / 411.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3351, allocations: 3.094 kB / 411.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3353, allocations: 26.23 kB / 411.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3353, allocations: 7.188 kB / 411.1 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.594e-05/0.3353, allocations: 20.2 kB / 411.1 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3354, allocations: 4.281 kB / 411.1 MB, free: 8.195 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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): 13 * 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.254e-05/0.3354, allocations: 124 kB / 411.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.3355, allocations: 11.12 kB / 411.3 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.3355, allocations: 12.3 kB / 411.3 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3355, allocations: 1.156 kB / 411.3 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3355, allocations: 0 / 411.3 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3355, allocations: 1.766 kB / 411.3 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.3359, allocations: 355.1 kB / 411.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3359, allocations: 1.984 kB / 411.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.336, allocations: 18.84 kB / 411.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.336, allocations: 1.156 kB / 411.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.336, allocations: 1.156 kB / 411.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.336, allocations: 1.688 kB / 411.6 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.336, allocations: 4.844 kB / 411.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.3362, allocations: 186.7 kB / 411.8 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.3363, allocations: 94.58 kB / 411.9 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.3363, allocations: 2.031 kB / 411.9 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.323e-05/0.3364, allocations: 0 / 411.9 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.3364, allocations: 3.719 kB / 411.9 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3364, allocations: 1.797 kB / 411.9 MB, free: 7.434 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.855e-05/0.3365, allocations: 120.5 kB / 412 MB, free: 7.344 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3365, allocations: 0 / 412 MB, free: 7.344 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3367, allocations: 26.53 kB / 412.1 MB, free: 7.332 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 (5): * Single equations (assignments): 5 * 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.0003187/0.337, allocations: 0.7176 MB / 412.8 MB, free: 6.641 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.3372, allocations: 49.61 kB / 412.8 MB, free: 6.625 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3372, allocations: 5.5 kB / 412.8 MB, free: 6.621 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.666e-05/0.3372, allocations: 18.78 kB / 412.9 MB, free: 6.613 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.3377, allocations: 37.34 kB / 412.9 MB, free: 6.605 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3391, allocations: 1.69 MB / 414.6 MB, free: 5.105 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.3392, allocations: 0.702 MB / 415.3 MB, free: 4.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.305e-05/0.3393, allocations: 12.41 kB / 415.3 MB, free: 4.406 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.3393, allocations: 31.78 kB / 415.3 MB, free: 4.383 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3393, allocations: 1.188 kB / 415.3 MB, free: 4.383 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.3657, allocations: 2.554 MB / 417.9 MB, free: 3.969 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.117, allocations: 4.422 kB / 417.9 MB, free: 3.965 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1)