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 -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.NonInvertibleConfig.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, 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.001752/0.001752, allocations: 196.8 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008105/0.008105, allocations: 1.326 MB / 291.3 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 354.5 MB, free: 4.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.1011, allocations: 49.73 MB / 404.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.0032/0.1044, allocations: 1.714 MB / 406 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.1053, allocations: 0.5222 MB / 406.5 MB, free: 292 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.1054, allocations: 0 / 406.5 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.1056, allocations: 11.92 kB / 406.5 MB, free: 280 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.1056, allocations: 11.86 kB / 406.5 MB, free: 268 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.1059, allocations: 71.86 kB / 406.6 MB, free: 196 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1061, allocations: 103.6 kB / 406.7 MB, free: 92 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.1062, allocations: 49.3 kB / 406.8 MB, free: 44 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.1063, allocations: 31.8 kB / 406.8 MB, free: 12 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.11e-05/0.1064, allocations: 35.91 kB / 406.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1064, allocations: 4 kB / 406.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.1065, allocations: 8 kB / 406.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.1065, allocations: 7.938 kB / 406.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.1066, allocations: 47.67 kB / 406.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1067, allocations: 83.56 kB / 407 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1067, allocations: 0 / 407 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1067, allocations: 0 / 407 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1067, allocations: 3.938 kB / 407 MB, free: 15.82 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005881/0.1073, allocations: 411.1 kB / 407.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1074, allocations: 8.031 kB / 407.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.1074, allocations: 8.844 kB / 407.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.1076, allocations: 208.6 kB / 407.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1077, allocations: 8.312 kB / 407.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.1077, allocations: 20.11 kB / 407.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1079, allocations: 92.23 kB / 407.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1079, allocations: 4 kB / 407.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1079, allocations: 4 kB / 407.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1079, allocations: 0 / 407.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/0.108, allocations: 31.92 kB / 407.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/0.1088, allocations: 0.5202 MB / 408.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.545e-05/0.1089, allocations: 34.58 kB / 408.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.109, allocations: 8.859 kB / 408.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.109, allocations: 0 / 408.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.109, allocations: 46.53 kB / 408.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1091, allocations: 4 kB / 408.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.000171/0.1092, allocations: 53.59 kB / 408.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1093, allocations: 55.39 kB / 408.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1095, allocations: 170.3 kB / 408.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1095, allocations: 25.7 kB / 408.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/0.1096, allocations: 115.9 kB / 408.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.1096, allocations: 15.8 kB / 408.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.1097, allocations: 33.72 kB / 408.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1098, allocations: 322.8 kB / 409.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.979e-05/0.1099, allocations: 23.98 kB / 409.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.1101, allocations: 85.84 kB / 409.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.1103, allocations: 107.5 kB / 409.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.1104, allocations: 4 kB / 409.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002491/0.1106, allocations: 125.4 kB / 409.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1106, allocations: 13.81 kB / 409.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1107, allocations: 0 / 409.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1107, allocations: 4 kB / 409.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1108, allocations: 35.92 kB / 409.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1108, allocations: 64 / 409.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.426e-05/0.1109, allocations: 15.84 kB / 409.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1109, allocations: 8 kB / 409.5 MB, free: 12.95 MB / 350.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 0.0001052/0.111, allocations: 122.1 kB / 409.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.1111, allocations: 15.75 kB / 409.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.1111, allocations: 16.92 kB / 409.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1111, allocations: 240 / 409.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1111, allocations: 3.938 kB / 409.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1111, allocations: 0 / 409.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.1115, allocations: 327.4 kB / 410 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1115, allocations: 4.062 kB / 410 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.1116, allocations: 15.88 kB / 410 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1116, allocations: 0 / 410 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1117, allocations: 0 / 410 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1117, allocations: 4 kB / 410 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1117, allocations: 0 / 410 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.1119, allocations: 164.2 kB / 410.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.1119, allocations: 97 kB / 410.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.112, allocations: 4 kB / 410.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-05/0.112, allocations: 0 / 410.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.1121, allocations: 4 kB / 410.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1121, allocations: 0 / 410.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.1122, allocations: 136.2 kB / 410.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1122, allocations: 0 / 410.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1124, allocations: 20 kB / 410.5 MB, free: 11.93 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 (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 9.072e-05/0.1125, allocations: 103.2 kB / 410.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1127, allocations: 47.92 kB / 410.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.1128, allocations: 4 kB / 410.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.1128, allocations: 11.94 kB / 410.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1133, allocations: 39.84 kB / 410.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.1138, allocations: 306.1 kB / 411 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.1143, allocations: 0.7004 MB / 411.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.21e-05/0.1144, allocations: 12.88 kB / 411.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.1144, allocations: 15.44 kB / 411.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1144, allocations: 0 / 411.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Templates: time 0.003642/0.1181, allocations: 0.9628 MB / 412.7 MB, free: 9.711 MB / 350.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.makefile (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 & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD.pipe 2>&1)