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.0008813/0.0008812, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005093/0.005093, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.26/1.26, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.006883/0.006883, allocations: 1.319 MB / 292.7 MB, free: 0.9102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002568/0.0002568, allocations: 8 kB / 357 MB, free: 15.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2039, allocations: 50.7 MB / 407.7 MB, free: 11.86 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_ON_BWD): time 0.001266/0.2052, allocations: 1.375 MB / 409 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005603/0.2058, allocations: 0.5066 MB / 409.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.2058, allocations: 2.469 kB / 409.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.144e-05/0.2059, allocations: 8.234 kB / 409.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.206, allocations: 19.58 kB / 409.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.2061, allocations: 74.7 kB / 409.6 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2063, allocations: 110.4 kB / 409.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.2064, allocations: 41.88 kB / 409.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.2064, allocations: 34.06 kB / 409.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.2065, allocations: 30.61 kB / 409.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.2065, allocations: 2.5 kB / 409.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.2065, allocations: 7.844 kB / 409.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.2065, allocations: 12.39 kB / 409.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.2066, allocations: 62.69 kB / 409.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.693e-05/0.2067, allocations: 79.98 kB / 410 MB, free: 10.4 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2067, allocations: 5.188 kB / 410 MB, free: 10.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2067, allocations: 0 / 410 MB, free: 10.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.2067, allocations: 0 / 410 MB, free: 10.39 MB / 286.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.0002935/0.207, allocations: 384.8 kB / 410.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.207, allocations: 9.75 kB / 410.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.2071, allocations: 18.97 kB / 410.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.2072, allocations: 203.7 kB / 410.6 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2072, allocations: 7.656 kB / 410.6 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.2073, allocations: 14.72 kB / 410.6 MB, free: 9.766 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2074, allocations: 88.5 kB / 410.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2074, allocations: 0.7031 kB / 410.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2074, allocations: 5.188 kB / 410.7 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2074, allocations: 1.281 kB / 410.7 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/0.2075, allocations: 36.02 kB / 410.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.2079, allocations: 0.5209 MB / 411.3 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.208, allocations: 40.28 kB / 411.3 MB, free: 9.152 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.292e-05/0.208, allocations: 14.84 kB / 411.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.208, allocations: 2.672 kB / 411.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.2081, allocations: 34.5 kB / 411.4 MB, free: 9.098 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.2081, allocations: 3.938 kB / 411.4 MB, free: 9.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001254/0.2082, allocations: 54.75 kB / 411.4 MB, free: 9.055 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.475e-05/0.2082, allocations: 52.06 kB / 411.5 MB, free: 8.992 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2083, allocations: 181.5 kB / 411.7 MB, free: 8.859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.2083, allocations: 25.7 kB / 411.7 MB, free: 8.828 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.2084, allocations: 121.7 kB / 411.8 MB, free: 8.715 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-06/0.2084, allocations: 11.36 kB / 411.8 MB, free: 8.707 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.2084, allocations: 24.77 kB / 411.8 MB, free: 8.684 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.665e-05/0.2085, allocations: 320.8 kB / 412.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.2085, allocations: 18.73 kB / 412.2 MB, free: 8.363 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.961e-05/0.2086, allocations: 87.72 kB / 412.3 MB, free: 8.273 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.356e-05/0.2086, allocations: 100.4 kB / 412.4 MB, free: 8.176 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2086, allocations: 0 / 412.4 MB, free: 8.176 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001514/0.2088, allocations: 130.2 kB / 412.5 MB, free: 8.105 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.2088, allocations: 14.28 kB / 412.5 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2088, allocations: 6.453 kB / 412.5 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2088, allocations: 6.891 kB / 412.5 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.2089, allocations: 25.12 kB / 412.5 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.209, allocations: 7.656 kB / 412.5 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.209, allocations: 16.98 kB / 412.6 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.209, allocations: 5.344 kB / 412.6 MB, free: 8.074 MB / 286.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 4.925e-05/0.2091, allocations: 120.3 kB / 412.7 MB, free: 7.953 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.2091, allocations: 19.81 kB / 412.7 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.2091, allocations: 13.3 kB / 412.7 MB, free: 7.926 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2091, allocations: 5.281 kB / 412.7 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2092, allocations: 0 / 412.7 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2092, allocations: 0.5625 kB / 412.7 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.2094, allocations: 328.8 kB / 413 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2094, allocations: 0 / 413 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.176e-05/0.2094, allocations: 10.17 kB / 413.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.2094, allocations: 0 / 413.1 MB, free: 7.59 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2095, allocations: 5.062 kB / 413.1 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2095, allocations: 9.797 kB / 413.1 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2095, allocations: 1.062 kB / 413.1 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.855e-05/0.2096, allocations: 165.7 kB / 413.2 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.2096, allocations: 90.16 kB / 413.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.2096, allocations: 1.484 kB / 413.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.2097, allocations: 1.812 kB / 413.3 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.2097, allocations: 9.797 kB / 413.3 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.2097, allocations: 1.969 kB / 413.3 MB, free: 7.312 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.324e-05/0.2098, allocations: 125.2 kB / 413.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2098, allocations: 0 / 413.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.21, allocations: 19.03 kB / 413.5 MB, free: 7.219 MB / 286.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 5.434e-05/0.2101, allocations: 109.1 kB / 413.6 MB, free: 7.121 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.2102, allocations: 49 kB / 413.6 MB, free: 7.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2102, allocations: 4.062 kB / 413.6 MB, free: 7.105 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.2102, allocations: 14.55 kB / 413.6 MB, free: 7.098 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.2105, allocations: 31.86 kB / 413.7 MB, free: 7.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.2109, allocations: 339.6 kB / 414 MB, free: 6.832 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.3e-05/0.211, allocations: 0.7033 MB / 414.7 MB, free: 6.133 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.388e-05/0.2111, allocations: 12.95 kB / 414.7 MB, free: 6.125 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.2111, allocations: 12.06 kB / 414.7 MB, free: 6.117 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2111, allocations: 0.9375 kB / 414.7 MB, free: 6.117 MB / 286.1 MB Notification: Performance of Templates: time 0.002983/0.2141, allocations: 0.9639 MB / 415.7 MB, free: 6.02 MB / 286.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)