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 -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.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.001841/0.001841, 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.002166/0.002166, allocations: 194.2 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.02363/0.02363, allocations: 1.325 MB / 291.4 MB, free: 1.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 67.89 kB / 355.5 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2734, allocations: 49.72 MB / 405.3 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.002983/0.2764, allocations: 1.783 MB / 407 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.2773, allocations: 0.5335 MB / 407.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.2773, allocations: 1.938 kB / 407.6 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.2775, allocations: 17.92 kB / 407.6 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.2776, allocations: 21.88 kB / 407.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2778, allocations: 76.08 kB / 407.7 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.278, allocations: 146 kB / 407.8 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.2782, allocations: 52.02 kB / 407.9 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.336e-05/0.2783, allocations: 50.48 kB / 407.9 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.918e-05/0.2784, allocations: 49.7 kB / 408 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.2784, allocations: 8.938 kB / 408 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.767e-05/0.2784, allocations: 10.78 kB / 408 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.798e-05/0.2785, allocations: 21.8 kB / 408 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.2786, allocations: 55.45 kB / 408.1 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.2788, allocations: 117.1 kB / 408.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2788, allocations: 0.6562 kB / 408.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2788, allocations: 0 / 408.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.2788, allocations: 0 / 408.2 MB, free: 10.57 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.0005233/0.2793, allocations: 440 kB / 408.6 MB, free: 10.15 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2794, allocations: 9.719 kB / 408.6 MB, free: 10.15 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.272e-05/0.2794, allocations: 48.98 kB / 408.7 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.2795, allocations: 11.83 kB / 408.7 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.2797, allocations: 202.5 kB / 408.9 MB, free: 9.883 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2797, allocations: 9.375 kB / 408.9 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.2797, allocations: 14.44 kB / 408.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.2799, allocations: 108 kB / 409 MB, free: 9.797 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2799, allocations: 0.7969 kB / 409 MB, free: 9.797 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.28, allocations: 1.25 kB / 409 MB, free: 9.797 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.28, allocations: 2.562 kB / 409 MB, free: 9.797 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.2801, allocations: 52.55 kB / 409.1 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.2807, allocations: 0.4936 MB / 409.6 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.2809, allocations: 60.3 kB / 409.6 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.2809, allocations: 25.14 kB / 409.6 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.2809, allocations: 8.688 kB / 409.6 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.281, allocations: 31.66 kB / 409.7 MB, free: 9.246 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.281, allocations: 1.062 kB / 409.7 MB, free: 9.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002073/0.2812, allocations: 81.92 kB / 409.8 MB, free: 9.195 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2812, allocations: 56.62 kB / 409.8 MB, free: 9.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.2814, allocations: 165 kB / 410 MB, free: 9 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2814, allocations: 31.05 kB / 410 MB, free: 8.965 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.2814, allocations: 127.5 kB / 410.1 MB, free: 8.848 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2815, allocations: 23.19 kB / 410.2 MB, free: 8.828 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.2815, allocations: 29.09 kB / 410.2 MB, free: 8.805 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.534e-05/0.2816, allocations: 324.6 kB / 410.5 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.2816, allocations: 17.73 kB / 410.5 MB, free: 8.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.2817, allocations: 52.42 kB / 410.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.2818, allocations: 69.62 kB / 410.6 MB, free: 8.379 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2818, allocations: 1.062 kB / 410.6 MB, free: 8.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001513/0.2819, allocations: 106 kB / 410.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.282, allocations: 5.125 kB / 410.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.282, allocations: 1.844 kB / 410.7 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.282, allocations: 2.75 kB / 410.8 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.2823, allocations: 38.73 kB / 410.8 MB, free: 8.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007401/0.283, allocations: 1.411 MB / 412.2 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.2831, allocations: 9.781 kB / 412.2 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2831, allocations: 4 kB / 412.2 MB, free: 6.836 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 7.503e-05/0.2832, allocations: 124 kB / 412.3 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.2832, allocations: 13.75 kB / 412.3 MB, free: 6.703 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.2832, allocations: 12.78 kB / 412.4 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2832, allocations: 1.781 kB / 412.4 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.2833, allocations: 0.6094 kB / 412.4 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2833, allocations: 0 / 412.4 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.2836, allocations: 379.8 kB / 412.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2836, allocations: 1.125 kB / 412.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.2839, allocations: 39.97 kB / 412.8 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2839, allocations: 1.25 kB / 412.8 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.2839, allocations: 1.312 kB / 412.8 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006218/0.2845, allocations: 1.405 MB / 414.2 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2845, allocations: 9.125 kB / 414.2 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.2847, allocations: 198.8 kB / 414.4 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.2847, allocations: 92.28 kB / 414.5 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.2848, allocations: 2.031 kB / 414.5 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.2848, allocations: 3.938 kB / 414.5 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.2849, allocations: 8.109 kB / 414.5 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.2849, allocations: 3.828 kB / 414.5 MB, free: 4.582 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.731e-05/0.285, allocations: 117.7 kB / 414.6 MB, free: 4.496 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.285, allocations: 5.438 kB / 414.6 MB, free: 4.492 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.2852, allocations: 27.09 kB / 414.6 MB, free: 4.484 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.0003282/0.2856, allocations: 0.7383 MB / 415.4 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.2858, allocations: 75.78 kB / 415.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2858, allocations: 0 / 415.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.286, allocations: 33.34 kB / 415.5 MB, free: 3.746 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.2864, allocations: 49.78 kB / 415.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.2879, allocations: 1.751 MB / 417.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2881, allocations: 0.7062 MB / 418 MB, free: 1.527 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.616e-05/0.2882, allocations: 14.83 kB / 418 MB, free: 1.523 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.2883, allocations: 41.27 kB / 418 MB, free: 1.492 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2883, allocations: 5.375 kB / 418 MB, free: 1.488 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.3246, allocations: 2.819 MB / 420.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.3248, allocations: 245.5 kB / 421.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.118, allocations: 0 / 421.1 MB, free: 0.9375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1)