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 -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: 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.001289/0.001294, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001273/0.001273, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008866/0.008866, allocations: 1.326 MB / 291.3 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 354.5 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1037, allocations: 49.74 MB / 404.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003283/0.1071, allocations: 1.845 MB / 406.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.108, allocations: 0.5494 MB / 406.7 MB, free: 120 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.128e-05/0.1081, allocations: 0 / 406.7 MB, free: 120 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.1083, allocations: 15.86 kB / 406.7 MB, free: 104 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.1084, allocations: 27.78 kB / 406.7 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.1086, allocations: 71.92 kB / 406.8 MB, free: 4 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.1089, allocations: 163.4 kB / 406.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.109, allocations: 57.66 kB / 407 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.302e-05/0.1091, allocations: 47.73 kB / 407 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.1092, allocations: 51.7 kB / 407.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.1092, allocations: 8 kB / 407.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.477e-05/0.1093, allocations: 8 kB / 407.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.287e-05/0.1093, allocations: 27.86 kB / 407.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.1094, allocations: 63.59 kB / 407.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1096, allocations: 123.5 kB / 407.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1096, allocations: 0 / 407.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1096, allocations: 0 / 407.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1096, allocations: 0 / 407.3 MB, free: 15.46 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.0007469/0.1103, allocations: 446.9 kB / 407.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1104, allocations: 11.97 kB / 407.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.1105, allocations: 24.69 kB / 407.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1107, allocations: 204.8 kB / 408 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1107, allocations: 8.375 kB / 408 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.1108, allocations: 8.375 kB / 408 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.1111, allocations: 133.8 kB / 408.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1111, allocations: 0 / 408.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1111, allocations: 4 kB / 408.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1111, allocations: 4 kB / 408.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.1114, allocations: 67.95 kB / 408.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009013/0.1123, allocations: 0.5006 MB / 408.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.1125, allocations: 74.48 kB / 408.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1127, allocations: 32.95 kB / 408.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1127, allocations: 4 kB / 408.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.1127, allocations: 38.56 kB / 408.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1127, allocations: 0 / 408.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004456/0.1132, allocations: 129.4 kB / 409 MB, free: 13.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1132, allocations: 51.41 kB / 409 MB, free: 13.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1134, allocations: 166.9 kB / 409.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1134, allocations: 29.7 kB / 409.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.1135, allocations: 123.9 kB / 409.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.1136, allocations: 23.66 kB / 409.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.1136, allocations: 29.7 kB / 409.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1138, allocations: 322.8 kB / 409.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1139, allocations: 27.98 kB / 409.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.114, allocations: 79.33 kB / 409.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.1143, allocations: 104.2 kB / 409.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1143, allocations: 4 kB / 409.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003286/0.1146, allocations: 141.3 kB / 410.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1147, allocations: 9.5 kB / 410.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1147, allocations: 8.188 kB / 410.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1147, allocations: 0 / 410.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.115, allocations: 47.97 kB / 410.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.1161, allocations: 1.302 MB / 411.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.1162, allocations: 19.98 kB / 411.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.1162, allocations: 4 kB / 411.5 MB, free: 10.94 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.0001196/0.1164, allocations: 125.8 kB / 411.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.1164, allocations: 7.906 kB / 411.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.1164, allocations: 21.38 kB / 411.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.1164, allocations: 0 / 411.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.1165, allocations: 0 / 411.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1165, allocations: 0 / 411.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007083/0.1172, allocations: 407.2 kB / 412 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1172, allocations: 3.984 kB / 412 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.1175, allocations: 31.92 kB / 412 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1175, allocations: 4 kB / 412 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1175, allocations: 0 / 412 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.1186, allocations: 1.31 MB / 413.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/0.1186, allocations: 7.922 kB / 413.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.1191, allocations: 228.4 kB / 413.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/0.1192, allocations: 96.94 kB / 413.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1192, allocations: 4 kB / 413.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1193, allocations: 11.92 kB / 413.7 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.1194, allocations: 16.05 kB / 413.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.1194, allocations: 0 / 413.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1195, allocations: 119.2 kB / 413.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1195, allocations: 0 / 413.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.1198, allocations: 31.94 kB / 413.9 MB, free: 8.297 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.0001058/0.1199, allocations: 103.1 kB / 414 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.1203, allocations: 95.88 kB / 414.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/0.1203, allocations: 0 / 414.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.1205, allocations: 51.89 kB / 414.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.121, allocations: 32.2 kB / 414.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.1218, allocations: 376.4 kB / 414.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1221, allocations: 0.7121 MB / 415.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.844e-05/0.1222, allocations: 12.88 kB / 415.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.1223, allocations: 11.44 kB / 415.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1223, allocations: 4 kB / 415.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of Templates: time 0.004971/0.1273, allocations: 1.361 MB / 416.6 MB, free: 5.531 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 -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1)