Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 112.9 kB / 16.46 MB, free: 5.633 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.00131/0.00131, allocations: 203.5 kB / 17.44 MB, free: 5.008 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.532/1.532, allocations: 225.6 MB / 243.9 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008232/0.008232, allocations: 1.349 MB / 298.1 MB, free: 10.3 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.84 kB / 418.6 MB, free: 21.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09862/0.1006, allocations: 52.43 MB / 471 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.002997/0.1036, allocations: 1.808 MB / 472.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.1045, allocations: 0.5494 MB / 473.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.1046, allocations: 8 kB / 473.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.1047, allocations: 15.8 kB / 473.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.1048, allocations: 35.66 kB / 473.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.1051, allocations: 91.88 kB / 473.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.1053, allocations: 171.4 kB / 473.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1054, allocations: 33.53 kB / 473.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.1055, allocations: 51.73 kB / 473.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.956e-05/0.1056, allocations: 63.69 kB / 473.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1056, allocations: 8 kB / 473.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.134e-05/0.1056, allocations: 12 kB / 473.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.1057, allocations: 27.86 kB / 473.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.521e-05/0.1057, allocations: 63.67 kB / 473.9 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1059, allocations: 127.4 kB / 474.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1059, allocations: 4 kB / 474.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1059, allocations: 3.938 kB / 474.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1059, allocations: 0 / 474.1 MB, free: 14.02 MB / 350.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.0006472/0.1066, allocations: 446.7 kB / 474.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1066, allocations: 19.89 kB / 474.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.1067, allocations: 12.84 kB / 474.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1069, allocations: 218.4 kB / 474.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1069, allocations: 8.375 kB / 474.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.1069, allocations: 20.3 kB / 474.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.1072, allocations: 118.4 kB / 474.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1072, allocations: 0 / 474.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1072, allocations: 4 kB / 474.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.1072, allocations: 8 kB / 474.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.1074, allocations: 67.88 kB / 475 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.1082, allocations: 0.4967 MB / 475.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1084, allocations: 66.55 kB / 475.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1085, allocations: 36.97 kB / 475.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1085, allocations: 7.922 kB / 475.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1086, allocations: 30.56 kB / 475.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1086, allocations: 4 kB / 475.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004165/0.109, allocations: 129.5 kB / 475.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.109, allocations: 55.41 kB / 475.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.1092, allocations: 178.8 kB / 476 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1092, allocations: 25.7 kB / 476 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.1093, allocations: 112 kB / 476.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.1093, allocations: 31.78 kB / 476.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.1094, allocations: 25.72 kB / 476.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1095, allocations: 330.8 kB / 476.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.1096, allocations: 31.97 kB / 476.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1098, allocations: 71.95 kB / 476.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.11, allocations: 104.2 kB / 476.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.11, allocations: 0 / 476.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003208/0.1103, allocations: 141.4 kB / 476.8 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1103, allocations: 8 kB / 476.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1103, allocations: 3.938 kB / 476.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1104, allocations: 4 kB / 476.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.1106, allocations: 39.91 kB / 476.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.1117, allocations: 1.397 MB / 478.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.918e-05/0.1118, allocations: 20.11 kB / 478.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1118, allocations: 4 kB / 478.3 MB, free: 9.391 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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 0.0001116/0.1119, allocations: 138.3 kB / 478.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.112, allocations: 11.91 kB / 478.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.112, allocations: 13.41 kB / 478.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.112, allocations: 3.984 kB / 478.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.112, allocations: 3.938 kB / 478.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.112, allocations: 0 / 478.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.1126, allocations: 403.2 kB / 478.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1126, allocations: 0 / 478.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1128, allocations: 32.06 kB / 478.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1128, allocations: 3.938 kB / 478.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1128, allocations: 4 kB / 478.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.1138, allocations: 1.408 MB / 480.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1138, allocations: 0 / 480.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.1142, allocations: 240.2 kB / 480.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.1143, allocations: 93 kB / 480.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1143, allocations: 4.125 kB / 480.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1144, allocations: 12.11 kB / 480.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.1144, allocations: 4 kB / 480.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1144, allocations: 4 kB / 480.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1146, allocations: 132.3 kB / 480.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1146, allocations: 0 / 480.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1148, allocations: 23.94 kB / 480.8 MB, free: 6.633 MB / 350.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.0001018/0.1149, allocations: 103.2 kB / 480.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003877/0.1153, allocations: 91.81 kB / 481 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1153, allocations: 4 kB / 481 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.1155, allocations: 39.95 kB / 481 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.1159, allocations: 48.22 kB / 481.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006322/0.1165, allocations: 339.9 kB / 481.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1169, allocations: 0.7118 MB / 482.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.973e-05/0.1169, allocations: 16.88 kB / 482.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.117, allocations: 11.44 kB / 482.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.117, allocations: 0 / 482.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of Templates: time 0.004344/0.1213, allocations: 1.543 MB / 483.7 MB, free: 3.73 MB / 350.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1)