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 -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.005229/0.005237, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.001358/0.001358, allocations: 193.7 kB / 16.67 MB, free: 5.922 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.01961/0.01961, allocations: 1.326 MB / 291.9 MB, free: 13.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 76.12 kB / 405.8 MB, free: 29.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08285/0.08472, allocations: 49.72 MB / 455.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003042/0.08781, allocations: 1.68 MB / 457.2 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.08896, allocations: 0.5221 MB / 457.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.08904, allocations: 11.94 kB / 457.7 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.08919, allocations: 23.73 kB / 457.8 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.08925, allocations: 23.78 kB / 457.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.08952, allocations: 83.83 kB / 457.9 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.08975, allocations: 127.5 kB / 458 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.08991, allocations: 45.38 kB / 458 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.08998, allocations: 35.86 kB / 458.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.09009, allocations: 47.72 kB / 458.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.09012, allocations: 8 kB / 458.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.13e-05/0.09014, allocations: 8 kB / 458.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.09018, allocations: 27.86 kB / 458.2 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.09025, allocations: 55.67 kB / 458.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.09043, allocations: 111.5 kB / 458.3 MB, free: 8.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09044, allocations: 3.938 kB / 458.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09045, allocations: 0 / 458.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.09046, allocations: 0 / 458.3 MB, free: 8.426 MB / 334.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.0005645/0.09103, allocations: 434.8 kB / 458.8 MB, free: 7.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.09107, allocations: 8.031 kB / 458.8 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.09112, allocations: 38.75 kB / 458.8 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.09117, allocations: 16.84 kB / 458.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.09139, allocations: 200.2 kB / 459 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.09141, allocations: 12.36 kB / 459 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.09144, allocations: 8.375 kB / 459 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.09163, allocations: 115.6 kB / 459.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.09164, allocations: 0 / 459.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.09166, allocations: 0 / 459.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.09167, allocations: 4 kB / 459.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.892e-05/0.09176, allocations: 43.86 kB / 459.2 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.09246, allocations: 0.5438 MB / 459.7 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.09259, allocations: 50.56 kB / 459.8 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.09264, allocations: 16.89 kB / 459.8 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.09266, allocations: 0 / 459.8 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.09269, allocations: 38.59 kB / 459.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.0927, allocations: 0 / 459.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002059/0.09291, allocations: 81.47 kB / 459.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.09296, allocations: 51.41 kB / 460 MB, free: 6.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.09316, allocations: 179.2 kB / 460.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.09319, allocations: 29.7 kB / 460.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.746e-05/0.09328, allocations: 116.1 kB / 460.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.0933, allocations: 15.8 kB / 460.3 MB, free: 6.227 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.09336, allocations: 37.7 kB / 460.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.09352, allocations: 326.8 kB / 460.7 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.09358, allocations: 23.98 kB / 460.7 MB, free: 5.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.09365, allocations: 51.5 kB / 460.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.09381, allocations: 79.31 kB / 460.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.09381, allocations: 0 / 460.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001876/0.09401, allocations: 117.5 kB / 460.9 MB, free: 5.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.09403, allocations: 11.94 kB / 460.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.09405, allocations: 0 / 460.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.09407, allocations: 0 / 460.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.09423, allocations: 27.98 kB / 461 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.09424, allocations: 4 kB / 461 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.09431, allocations: 19.84 kB / 461 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.09432, allocations: 4.094 kB / 461 MB, free: 5.496 MB / 334.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 0.0001172/0.09445, allocations: 130.4 kB / 461.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.09448, allocations: 11.89 kB / 461.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.197e-05/0.09453, allocations: 16.92 kB / 461.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.09454, allocations: 0 / 461.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.09455, allocations: 0 / 461.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.09456, allocations: 3.938 kB / 461.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.09497, allocations: 351.5 kB / 461.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.09498, allocations: 0 / 461.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.09518, allocations: 23.98 kB / 461.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.09519, allocations: 48 / 461.5 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.09521, allocations: 7.984 kB / 461.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.09643, allocations: 1.412 MB / 462.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.09645, allocations: 0 / 462.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.09664, allocations: 184.4 kB / 463.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.09672, allocations: 93.08 kB / 463.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.09674, allocations: 0 / 463.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.09682, allocations: 7.938 kB / 463.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.09684, allocations: 4 kB / 463.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.09685, allocations: 4 kB / 463.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.09698, allocations: 124.3 kB / 463.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09698, allocations: 64 / 463.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.09724, allocations: 28 kB / 463.4 MB, free: 2.863 MB / 334.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.000586/0.09784, allocations: 0.7132 MB / 464.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.09801, allocations: 64.09 kB / 464.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.09801, allocations: 0 / 464.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.09815, allocations: 23.92 kB / 464.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.0986, allocations: 42.17 kB / 464.2 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.1006, allocations: 1.747 MB / 466 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.101, allocations: 0.7039 MB / 466.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.158e-05/0.101, allocations: 12.88 kB / 466.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.1011, allocations: 39.42 kB / 466.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1011, allocations: 0 / 466.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.1307, allocations: 2.855 MB / 469.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/7.94, allocations: 18.48 kB / 469.6 MB, free: 12.69 MB / 350.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)