Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_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.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_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.005134/0.005134, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.001282/0.001282, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008158/0.008158, allocations: 1.329 MB / 291.9 MB, free: 13.54 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 60.36 kB / 405.8 MB, free: 29.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08365/0.08573, allocations: 49.74 MB / 455.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003792/0.08956, allocations: 1.961 MB / 457.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.09088, allocations: 0.5572 MB / 458.1 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.09102, allocations: 4 kB / 458.1 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.09122, allocations: 19.73 kB / 458.1 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.522e-05/0.09135, allocations: 35.66 kB / 458.1 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.09164, allocations: 99.86 kB / 458.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.09192, allocations: 183.3 kB / 458.4 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.09213, allocations: 65.84 kB / 458.5 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.025e-05/0.09222, allocations: 59.73 kB / 458.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.09236, allocations: 63.58 kB / 458.6 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.09239, allocations: 12 kB / 458.6 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.047e-05/0.09243, allocations: 12 kB / 458.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.09248, allocations: 31.84 kB / 458.6 MB, free: 8.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.09258, allocations: 79.53 kB / 458.7 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.09284, allocations: 151.2 kB / 458.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09285, allocations: 0 / 458.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.09286, allocations: 0 / 458.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.09287, allocations: 3.938 kB / 458.9 MB, free: 7.902 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007386/0.09362, allocations: 474.6 kB / 459.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.09367, allocations: 12.03 kB / 459.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.09373, allocations: 46.73 kB / 459.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.09377, allocations: 16.84 kB / 459.4 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.09412, allocations: 224.6 kB / 459.6 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.09415, allocations: 12.38 kB / 459.6 MB, free: 7.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.09418, allocations: 12.38 kB / 459.6 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.09445, allocations: 133 kB / 459.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.09447, allocations: 0 / 459.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.09449, allocations: 8 kB / 459.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.0945, allocations: 0 / 459.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.09467, allocations: 63.95 kB / 459.8 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008639/0.09554, allocations: 0.5434 MB / 460.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.09575, allocations: 82.56 kB / 460.5 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.752e-05/0.09586, allocations: 48.81 kB / 460.5 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.09589, allocations: 3.938 kB / 460.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.09592, allocations: 34.75 kB / 460.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.376e-06/0.09593, allocations: 0 / 460.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003832/0.09632, allocations: 125.5 kB / 460.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.09639, allocations: 59.33 kB / 460.7 MB, free: 5.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.09669, allocations: 186.3 kB / 460.9 MB, free: 5.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.09673, allocations: 25.7 kB / 460.9 MB, free: 5.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.09686, allocations: 128.4 kB / 461.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.09691, allocations: 31.73 kB / 461.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.09701, allocations: 45.59 kB / 461.1 MB, free: 5.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.09717, allocations: 326.8 kB / 461.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.09727, allocations: 27.98 kB / 461.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.09738, allocations: 61.67 kB / 461.6 MB, free: 4.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.09759, allocations: 94.5 kB / 461.6 MB, free: 4.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.0976, allocations: 4 kB / 461.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002951/0.0979, allocations: 153.3 kB / 461.8 MB, free: 4.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.09793, allocations: 8 kB / 461.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.09794, allocations: 0 / 461.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.09797, allocations: 0 / 461.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.09818, allocations: 43.98 kB / 461.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.09819, allocations: 0 / 461.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/0.09828, allocations: 23.81 kB / 461.9 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.09829, allocations: 4 kB / 461.9 MB, free: 4.641 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.0001244/0.09842, allocations: 121.8 kB / 462 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.09848, allocations: 15.84 kB / 462 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.09853, allocations: 17.41 kB / 462 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.09854, allocations: 0 / 462 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.09855, allocations: 0 / 462 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.09856, allocations: 7.984 kB / 462 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.09915, allocations: 431.2 kB / 462.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.09916, allocations: 0 / 462.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.09942, allocations: 31.97 kB / 462.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.09944, allocations: 4 kB / 462.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.09945, allocations: 0 / 462.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.1007, allocations: 1.401 MB / 463.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1007, allocations: 0 / 463.9 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.1011, allocations: 244.2 kB / 464.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.1012, allocations: 97.02 kB / 464.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1012, allocations: 7.938 kB / 464.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.1013, allocations: 4 kB / 464.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1013, allocations: 12.05 kB / 464.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.1013, allocations: 8 kB / 464.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1015, allocations: 132.3 kB / 464.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1015, allocations: 3.938 kB / 464.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1018, allocations: 31.95 kB / 464.4 MB, free: 1.852 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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.0007177/0.1025, allocations: 0.7795 MB / 465.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.1028, allocations: 88.08 kB / 465.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1028, allocations: 3.938 kB / 465.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.103, allocations: 48.17 kB / 465.3 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.1034, allocations: 61.17 kB / 465.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.1059, allocations: 1.932 MB / 467.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1063, allocations: 0.7241 MB / 468.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.961e-05/0.1064, allocations: 13.08 kB / 468.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.1065, allocations: 47.42 kB / 468.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1065, allocations: 4 kB / 468.1 MB, free: 14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.1335, allocations: 3.504 MB / 471.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/7.908, allocations: 10.88 kB / 471.6 MB, free: 10.68 MB / 350.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1)