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.007752/0.007752, allocations: 99.11 kB / 15.73 MB, free: 6.039 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.001902/0.001902, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008261/0.008261, allocations: 1.323 MB / 291.9 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002339, allocations: 63.89 kB / 406.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.249, allocations: 49.72 MB / 456.2 MB, free: 23.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.002503/0.2515, allocations: 1.663 MB / 457.9 MB, free: 22.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007729/0.2523, allocations: 0.5185 MB / 458.4 MB, free: 22.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.2524, allocations: 0 / 458.4 MB, free: 22.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.2526, allocations: 18.47 kB / 458.4 MB, free: 22.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.2527, allocations: 22.33 kB / 458.5 MB, free: 22.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.2529, allocations: 82.56 kB / 458.5 MB, free: 22.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.253, allocations: 128.5 kB / 458.7 MB, free: 22.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.2532, allocations: 53.58 kB / 458.7 MB, free: 22.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.2532, allocations: 38.7 kB / 458.8 MB, free: 22.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.2533, allocations: 36.53 kB / 458.8 MB, free: 22.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.2533, allocations: 6.469 kB / 458.8 MB, free: 22.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.2534, allocations: 6.562 kB / 458.8 MB, free: 22.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.2534, allocations: 34.47 kB / 458.8 MB, free: 22.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.2534, allocations: 43.89 kB / 458.9 MB, free: 22.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.2536, allocations: 99.05 kB / 459 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2536, allocations: 0 / 459 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2536, allocations: 0 / 459 MB, free: 22.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.2536, allocations: 0 / 459 MB, free: 22.05 MB / 350.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.0004382/0.254, allocations: 426.5 kB / 459.4 MB, free: 21.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2541, allocations: 17.45 kB / 459.4 MB, free: 21.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.2542, allocations: 41.03 kB / 459.5 MB, free: 21.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.2542, allocations: 15.25 kB / 459.5 MB, free: 21.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.2544, allocations: 198.5 kB / 459.7 MB, free: 21.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.2544, allocations: 10.83 kB / 459.7 MB, free: 21.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.2544, allocations: 9.844 kB / 459.7 MB, free: 21.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.2546, allocations: 103.4 kB / 459.8 MB, free: 21.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.2546, allocations: 0 / 459.8 MB, free: 21.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2546, allocations: 7.125 kB / 459.8 MB, free: 21.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2546, allocations: 3.031 kB / 459.8 MB, free: 21.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.2547, allocations: 33.22 kB / 459.8 MB, free: 21.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.2552, allocations: 481.3 kB / 460.3 MB, free: 20.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.2554, allocations: 51.56 kB / 460.3 MB, free: 20.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.2554, allocations: 22.75 kB / 460.4 MB, free: 20.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2555, allocations: 7.25 kB / 460.4 MB, free: 20.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.177e-05/0.2555, allocations: 30.56 kB / 460.4 MB, free: 20.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.2555, allocations: 0 / 460.4 MB, free: 20.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000188/0.2557, allocations: 81.7 kB / 460.5 MB, free: 20.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.2557, allocations: 51.41 kB / 460.5 MB, free: 20.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.2558, allocations: 162.8 kB / 460.7 MB, free: 20.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.996e-06/0.2558, allocations: 29.7 kB / 460.7 MB, free: 20.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.2559, allocations: 120.4 kB / 460.8 MB, free: 20.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.2559, allocations: 19.23 kB / 460.9 MB, free: 20.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.256, allocations: 29.84 kB / 460.9 MB, free: 20.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.256, allocations: 318.1 kB / 461.2 MB, free: 20.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.2561, allocations: 26.41 kB / 461.2 MB, free: 20.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.775e-05/0.2561, allocations: 62.55 kB / 461.3 MB, free: 19.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.467e-05/0.2562, allocations: 90.56 kB / 461.4 MB, free: 19.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2562, allocations: 3 kB / 461.4 MB, free: 19.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000141/0.2564, allocations: 117.6 kB / 461.5 MB, free: 19.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2564, allocations: 3.625 kB / 461.5 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2564, allocations: 3.5 kB / 461.5 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2564, allocations: 4.156 kB / 461.5 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.2565, allocations: 31.52 kB / 461.5 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2566, allocations: 3.094 kB / 461.5 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.253e-05/0.2566, allocations: 14.73 kB / 461.6 MB, free: 19.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2566, allocations: 2.875 kB / 461.6 MB, free: 19.77 MB / 350.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 6.743e-05/0.2567, allocations: 115.8 kB / 461.7 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.2567, allocations: 18.45 kB / 461.7 MB, free: 19.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.2568, allocations: 15.28 kB / 461.7 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2568, allocations: 0 / 461.7 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2568, allocations: 6.969 kB / 461.7 MB, free: 19.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2568, allocations: 3.938 kB / 461.7 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.2571, allocations: 349.7 kB / 462.1 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2571, allocations: 3.938 kB / 462.1 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.2572, allocations: 21.69 kB / 462.1 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.2572, allocations: 3.375 kB / 462.1 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2572, allocations: 320 / 462.1 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2572, allocations: 6.875 kB / 462.1 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2573, allocations: 4.031 kB / 462.1 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.2574, allocations: 175.3 kB / 462.3 MB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.2575, allocations: 102.2 kB / 462.4 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2575, allocations: 0 / 462.4 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.181e-05/0.2575, allocations: 0 / 462.4 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.2576, allocations: 9.5 kB / 462.4 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2576, allocations: 2.781 kB / 462.4 MB, free: 19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.927e-05/0.2576, allocations: 115.9 kB / 462.5 MB, free: 18.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2576, allocations: 0 / 462.5 MB, free: 18.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.2579, allocations: 14.62 kB / 462.5 MB, free: 18.91 MB / 350.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.0002861/0.2582, allocations: 0.7232 MB / 463.2 MB, free: 18.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.2583, allocations: 53.52 kB / 463.3 MB, free: 18.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2583, allocations: 3.938 kB / 463.3 MB, free: 18.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.2584, allocations: 13.09 kB / 463.3 MB, free: 18.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.2588, allocations: 47.03 kB / 463.3 MB, free: 18.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2602, allocations: 1.703 MB / 465 MB, free: 16.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.2604, allocations: 0.7061 MB / 465.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.797e-05/0.2604, allocations: 10.08 kB / 465.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.178e-05/0.2605, allocations: 32.62 kB / 465.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2606, allocations: 0 / 465.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.2951, allocations: 2.6 MB / 468.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.253/8.549, allocations: 6.938 kB / 468.4 MB, free: 15.5 MB / 350.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)