Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_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.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008416/0.0008415, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004697/0.004697, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.25/1.25, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.006823/0.006823, allocations: 1.323 MB / 292.7 MB, free: 0.8945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002561/0.0002561, allocations: 12 kB / 357 MB, free: 15.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2011, allocations: 50.71 MB / 407.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD): time 0.001626/0.2028, allocations: 1.6 MB / 409.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007293/0.2035, allocations: 0.5272 MB / 409.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.956e-05/0.2037, allocations: 1.812 kB / 409.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.2038, allocations: 18.25 kB / 409.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.2038, allocations: 22.27 kB / 409.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.2041, allocations: 80.17 kB / 409.9 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.2043, allocations: 178.1 kB / 410.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.2044, allocations: 52.38 kB / 410.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.2045, allocations: 47.95 kB / 410.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.2045, allocations: 47.89 kB / 410.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2046, allocations: 4.031 kB / 410.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.2046, allocations: 5.031 kB / 410.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.2046, allocations: 15.83 kB / 410.3 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.2047, allocations: 82.75 kB / 410.3 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.2048, allocations: 123.1 kB / 410.5 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2048, allocations: 0 / 410.5 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2048, allocations: 0 / 410.5 MB, free: 10.12 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.2048, allocations: 4 kB / 410.5 MB, free: 10.12 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0004082/0.2053, allocations: 424.6 kB / 410.9 MB, free: 9.711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.2053, allocations: 9.438 kB / 410.9 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.2053, allocations: 22.25 kB / 410.9 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2055, allocations: 209.9 kB / 411.1 MB, free: 9.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.2055, allocations: 14 kB / 411.1 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.2055, allocations: 12.38 kB / 411.1 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.2058, allocations: 142.5 kB / 411.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2058, allocations: 9.625 kB / 411.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2058, allocations: 0 / 411.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2058, allocations: 7 kB / 411.3 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.206, allocations: 69.89 kB / 411.4 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.2066, allocations: 0.5245 MB / 411.9 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.2067, allocations: 81.16 kB / 412 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.2068, allocations: 41.14 kB / 412 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.2068, allocations: 0.9688 kB / 412 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.2068, allocations: 32.3 kB / 412 MB, free: 8.805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2068, allocations: 4 kB / 412 MB, free: 8.801 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002634/0.2071, allocations: 120.6 kB / 412.2 MB, free: 8.738 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.2071, allocations: 52.47 kB / 412.2 MB, free: 8.676 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.2073, allocations: 184.3 kB / 412.4 MB, free: 8.539 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.2073, allocations: 25.7 kB / 412.4 MB, free: 8.508 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.2073, allocations: 126.1 kB / 412.5 MB, free: 8.395 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.2074, allocations: 34.33 kB / 412.6 MB, free: 8.367 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.2074, allocations: 27.17 kB / 412.6 MB, free: 8.344 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.2074, allocations: 321.8 kB / 412.9 MB, free: 8.027 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.568e-05/0.2075, allocations: 34.52 kB / 412.9 MB, free: 8.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.104e-05/0.2076, allocations: 83.44 kB / 413 MB, free: 7.953 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2078, allocations: 124.1 kB / 413.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2078, allocations: 4 kB / 413.1 MB, free: 7.863 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00023/0.208, allocations: 160.1 kB / 413.3 MB, free: 7.785 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.2081, allocations: 131.2 kB / 413.4 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2081, allocations: 1.375 kB / 413.4 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2081, allocations: 1.562 kB / 413.4 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2082, allocations: 37.5 kB / 413.5 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2083, allocations: 6.875 kB / 413.5 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.2083, allocations: 16.39 kB / 413.5 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2083, allocations: 13 kB / 413.5 MB, free: 7.621 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.179e-06/0.2083, allocations: 4.062 kB / 413.5 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001895/0.2085, allocations: 123 kB / 413.6 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.2086, allocations: 7.156 kB / 413.6 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-06/0.2086, allocations: 2.469 kB / 413.6 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.2087, allocations: 32.38 kB / 413.7 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2087, allocations: 11.06 kB / 413.7 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.2087, allocations: 22.36 kB / 413.7 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.2088, allocations: 4.906 kB / 413.7 MB, free: 7.551 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 20 * 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 6.369e-05/0.2088, allocations: 196.4 kB / 413.9 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.2089, allocations: 17.94 kB / 413.9 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.2089, allocations: 18.28 kB / 413.9 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2089, allocations: 1.156 kB / 413.9 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2089, allocations: 3.938 kB / 413.9 MB, free: 7.328 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2089, allocations: 5.812 kB / 413.9 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.2093, allocations: 399.1 kB / 414.3 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2093, allocations: 5.031 kB / 414.3 MB, free: 6.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.745e-05/0.2094, allocations: 27.16 kB / 414.4 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2094, allocations: 5.719 kB / 414.4 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2094, allocations: 1.031 kB / 414.4 MB, free: 6.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2094, allocations: 5.891 kB / 414.4 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2094, allocations: 1.312 kB / 414.4 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.2097, allocations: 229.2 kB / 414.6 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.679e-05/0.2097, allocations: 96.34 kB / 414.7 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.2097, allocations: 6.953 kB / 414.7 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.2098, allocations: 6.938 kB / 414.7 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.2098, allocations: 9.266 kB / 414.7 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2099, allocations: 2.797 kB / 414.7 MB, free: 6.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.01e-05/0.2099, allocations: 130.9 kB / 414.9 MB, free: 6.57 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2099, allocations: 0 / 414.9 MB, free: 6.57 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.2102, allocations: 49.56 kB / 414.9 MB, free: 6.559 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 (8): * Single equations (assignments): 8 * 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.305e-05/0.2103, allocations: 110.4 kB / 415 MB, free: 6.461 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.2106, allocations: 155.5 kB / 415.2 MB, free: 6.418 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2106, allocations: 0 / 415.2 MB, free: 6.418 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.028e-05/0.2107, allocations: 33.45 kB / 415.2 MB, free: 6.41 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.211, allocations: 43.86 kB / 415.2 MB, free: 6.391 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.2115, allocations: 437.5 kB / 415.7 MB, free: 6.082 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.2116, allocations: 0.717 MB / 416.4 MB, free: 5.383 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.847e-05/0.2117, allocations: 16.11 kB / 416.4 MB, free: 5.375 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.2117, allocations: 13.97 kB / 416.4 MB, free: 5.367 MB / 286.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2117, allocations: 3.938 kB / 416.4 MB, free: 5.363 MB / 286.1 MB Notification: Performance of Templates: time 0.003534/0.2153, allocations: 1.208 MB / 417.6 MB, free: 5.254 MB / 286.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.CL_Simulation_OFF_BWD.pipe 2>&1)