Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.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.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_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.001538/0.001538, 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.001597/0.001597, allocations: 196.8 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.442/1.442, 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.008063/0.008063, allocations: 1.322 MB / 291.7 MB, free: 1.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002929/0.002929, allocations: 63.89 kB / 356.1 MB, free: 14.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2733, allocations: 49.73 MB / 405.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.00268/0.2761, allocations: 1.703 MB / 407.5 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007813/0.2769, allocations: 0.5276 MB / 408 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.2769, allocations: 3.594 kB / 408 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.2771, allocations: 19.75 kB / 408.1 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.2772, allocations: 31.09 kB / 408.1 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.2774, allocations: 87.61 kB / 408.2 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.2776, allocations: 146.8 kB / 408.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.2777, allocations: 49.25 kB / 408.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.2778, allocations: 46 kB / 408.4 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.2779, allocations: 52.19 kB / 408.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.2779, allocations: 9.219 kB / 408.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.154e-05/0.278, allocations: 10.06 kB / 408.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.278, allocations: 27.53 kB / 408.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.2781, allocations: 55.06 kB / 408.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.2782, allocations: 117.1 kB / 408.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2782, allocations: 0 / 408.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2782, allocations: 1 kB / 408.7 MB, free: 10.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.2782, allocations: 0 / 408.7 MB, free: 10.4 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.0004727/0.2787, allocations: 442.5 kB / 409.1 MB, free: 9.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2788, allocations: 9.344 kB / 409.1 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.2788, allocations: 48.72 kB / 409.2 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.2789, allocations: 11.56 kB / 409.2 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.279, allocations: 206.4 kB / 409.4 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2791, allocations: 9.406 kB / 409.4 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.2791, allocations: 14.78 kB / 409.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.2793, allocations: 103.9 kB / 409.5 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2793, allocations: 0 / 409.5 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2793, allocations: 9.078 kB / 409.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2793, allocations: 6.188 kB / 409.5 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.829e-05/0.2794, allocations: 40.39 kB / 409.6 MB, free: 9.602 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.28, allocations: 0.5058 MB / 410.1 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.2801, allocations: 56.02 kB / 410.1 MB, free: 9.129 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.2802, allocations: 29.25 kB / 410.2 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.2802, allocations: 1.219 kB / 410.2 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.2802, allocations: 32.56 kB / 410.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2802, allocations: 0 / 410.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001945/0.2804, allocations: 93.81 kB / 410.3 MB, free: 9.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.2804, allocations: 51.41 kB / 410.3 MB, free: 8.945 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2806, allocations: 167.7 kB / 410.5 MB, free: 8.816 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.2806, allocations: 26.7 kB / 410.5 MB, free: 8.785 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.2806, allocations: 119.4 kB / 410.6 MB, free: 8.676 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.2807, allocations: 23.72 kB / 410.7 MB, free: 8.656 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.2807, allocations: 28.27 kB / 410.7 MB, free: 8.633 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.2807, allocations: 326.1 kB / 411 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-05/0.2808, allocations: 23.66 kB / 411 MB, free: 8.301 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.2808, allocations: 46.23 kB / 411.1 MB, free: 8.262 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.519e-05/0.2809, allocations: 69.66 kB / 411.1 MB, free: 8.207 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2809, allocations: 7.938 kB / 411.1 MB, free: 8.199 MB / 286.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001429/0.2811, allocations: 101.9 kB / 411.2 MB, free: 8.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.2811, allocations: 5.906 kB / 411.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2811, allocations: 1.156 kB / 411.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2811, allocations: 2.25 kB / 411.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.2814, allocations: 39.64 kB / 411.3 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006635/0.2821, allocations: 1.406 MB / 412.7 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.251e-05/0.2821, allocations: 10.03 kB / 412.7 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.2822, allocations: 3.344 kB / 412.7 MB, free: 6.664 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 (12): * Single equations (assignments): 11 * 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 6.36e-05/0.2822, allocations: 122.9 kB / 412.8 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.2823, allocations: 13.55 kB / 412.8 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.2823, allocations: 17.66 kB / 412.9 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2823, allocations: 7.922 kB / 412.9 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.2823, allocations: 2.094 kB / 412.9 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2823, allocations: 4 kB / 412.9 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.2826, allocations: 376.7 kB / 413.2 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2826, allocations: 0 / 413.2 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.2829, allocations: 32.31 kB / 413.3 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2829, allocations: 0 / 413.3 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2829, allocations: 1.984 kB / 413.3 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005505/0.2834, allocations: 1.409 MB / 414.7 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2835, allocations: 1.375 kB / 414.7 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.2836, allocations: 199 kB / 414.9 MB, free: 4.523 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.2836, allocations: 91.47 kB / 415 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.2837, allocations: 0.9062 kB / 415 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.2837, allocations: 13.73 kB / 415 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.2838, allocations: 4.609 kB / 415 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.2838, allocations: 1.812 kB / 415 MB, free: 4.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.981e-05/0.2839, allocations: 125.1 kB / 415.1 MB, free: 4.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2839, allocations: 0 / 415.1 MB, free: 4.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.2841, allocations: 27.38 kB / 415.1 MB, free: 4.312 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.0002903/0.2844, allocations: 0.7325 MB / 415.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.2847, allocations: 72.5 kB / 415.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2847, allocations: 0 / 415.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.2848, allocations: 36.36 kB / 416 MB, free: 3.578 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.2852, allocations: 47.97 kB / 416 MB, free: 3.559 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2866, allocations: 1.712 MB / 417.7 MB, free: 2.094 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.2868, allocations: 0.7108 MB / 418.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.118e-05/0.2868, allocations: 18.45 kB / 418.5 MB, free: 1.387 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.2869, allocations: 41.95 kB / 418.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.2869, allocations: 0 / 418.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.3145, allocations: 2.898 MB / 421.4 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/8.089, allocations: 1.688 kB / 421.4 MB, free: 0.9336 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.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_InvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1)