Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_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.005857/0.005857, allocations: 98.16 kB / 15.73 MB, free: 6.012 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.001449/0.001449, allocations: 197 kB / 16.68 MB, free: 5.93 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.007774/0.007774, allocations: 1.342 MB / 291.9 MB, free: 13.5 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002556/0.002556, allocations: 59.91 kB / 405.8 MB, free: 29.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09426/0.09683, allocations: 49.73 MB / 455.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.002761/0.09963, allocations: 1.636 MB / 457.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009163/0.1006, allocations: 0.5261 MB / 457.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.1006, allocations: 0 / 457.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.1008, allocations: 11.86 kB / 457.7 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.1008, allocations: 19.81 kB / 457.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.1011, allocations: 87.75 kB / 457.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.1013, allocations: 115.6 kB / 457.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1014, allocations: 45.25 kB / 458 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.1015, allocations: 43.73 kB / 458 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.1016, allocations: 31.8 kB / 458 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.1016, allocations: 8 kB / 458 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.1016, allocations: 4 kB / 458 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.1016, allocations: 23.92 kB / 458.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.1017, allocations: 47.73 kB / 458.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1019, allocations: 91.78 kB / 458.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1019, allocations: 0 / 458.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.649e-06/0.1019, allocations: 4 kB / 458.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1019, allocations: 0 / 458.2 MB, free: 8.543 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005247/0.1024, allocations: 410.9 kB / 458.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1025, allocations: 11.89 kB / 458.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.1025, allocations: 38.75 kB / 458.7 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.1026, allocations: 20.83 kB / 458.7 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1028, allocations: 199 kB / 458.9 MB, free: 7.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1028, allocations: 8.375 kB / 458.9 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1028, allocations: 15.89 kB / 458.9 MB, free: 7.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.103, allocations: 92.8 kB / 459 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.103, allocations: 0 / 459 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.103, allocations: 4 kB / 459 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.103, allocations: 3.938 kB / 459 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.1031, allocations: 31.98 kB / 459 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.1038, allocations: 0.5165 MB / 459.5 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.24e-05/0.1038, allocations: 30.52 kB / 459.6 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.1039, allocations: 24.94 kB / 459.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.1039, allocations: 0 / 459.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1039, allocations: 34.5 kB / 459.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 2.655e-06/0.1039, allocations: 3.984 kB / 459.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001573/0.1041, allocations: 61.64 kB / 459.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1042, allocations: 51.41 kB / 459.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1043, allocations: 170.3 kB / 459.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1043, allocations: 41.69 kB / 460 MB, free: 6.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.698e-05/0.1044, allocations: 111.9 kB / 460.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.07e-05/0.1045, allocations: 7.953 kB / 460.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.1045, allocations: 41.66 kB / 460.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1047, allocations: 322.8 kB / 460.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-05/0.1047, allocations: 19.94 kB / 460.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.1048, allocations: 83.09 kB / 460.5 MB, free: 5.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.105, allocations: 111.5 kB / 460.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.105, allocations: 0 / 460.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000195/0.1052, allocations: 137.4 kB / 460.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1052, allocations: 4 kB / 460.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1052, allocations: 4 kB / 460.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1053, allocations: 4.219 kB / 460.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1054, allocations: 31.92 kB / 460.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.1054, allocations: 7.938 kB / 460.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.138e-05/0.1055, allocations: 15.89 kB / 460.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.1055, allocations: 8 kB / 460.8 MB, free: 5.609 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 16 * 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 9.785e-05/0.1056, allocations: 126.4 kB / 461 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.1056, allocations: 15.84 kB / 461 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.1057, allocations: 8.938 kB / 461 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1057, allocations: 0 / 461 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1057, allocations: 4 kB / 461 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1057, allocations: 0 / 461 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.106, allocations: 331.3 kB / 461.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.106, allocations: 4 kB / 461.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.1e-05/0.1061, allocations: 8 kB / 461.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1061, allocations: 0 / 461.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1061, allocations: 0 / 461.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1062, allocations: 0 / 461.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1062, allocations: 0 / 461.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.1064, allocations: 180.2 kB / 461.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.1064, allocations: 85.09 kB / 461.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.1065, allocations: 4 kB / 461.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.1065, allocations: 0 / 461.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.1065, allocations: 3.984 kB / 461.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1066, allocations: 4 kB / 461.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001059/0.1067, allocations: 132.3 kB / 461.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1067, allocations: 0 / 461.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1069, allocations: 16 kB / 461.7 MB, free: 4.594 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 (3): * Single equations (assignments): 3 * 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.0004641/0.1074, allocations: 0.7085 MB / 462.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.1075, allocations: 63.91 kB / 462.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1075, allocations: 0 / 462.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.1076, allocations: 11.94 kB / 462.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.108, allocations: 42.17 kB / 462.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.1097, allocations: 1.723 MB / 464.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1101, allocations: 0.6963 MB / 465 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.205e-05/0.1101, allocations: 16.97 kB / 465 MB, free: 1.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.1102, allocations: 27.44 kB / 465 MB, free: 1.125 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1102, allocations: 3.938 kB / 465 MB, free: 1.121 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.1351, allocations: 2.539 MB / 467.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/7.923, allocations: 448 / 467.6 MB, free: 14.76 MB / 350.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1)