Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_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.SteadyState_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008522/0.0008522, 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.004595/0.004595, allocations: 170 kB / 16.26 MB, free: 6.613 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.273/1.273, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.007022/0.007022, allocations: 1.298 MB / 292.7 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002524/0.0002524, allocations: 8 kB / 357 MB, free: 15.07 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2042, allocations: 50.71 MB / 407.7 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD): time 0.001328/0.2056, allocations: 1.376 MB / 409 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005814/0.2062, allocations: 0.5135 MB / 409.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.2063, allocations: 1.812 kB / 409.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.2064, allocations: 8.766 kB / 409.6 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.2064, allocations: 15.55 kB / 409.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.2066, allocations: 78.45 kB / 409.7 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.2067, allocations: 121.3 kB / 409.8 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2069, allocations: 37.39 kB / 409.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.2069, allocations: 30.42 kB / 409.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.207, allocations: 35.16 kB / 409.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.207, allocations: 3.062 kB / 409.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.207, allocations: 3.312 kB / 409.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.207, allocations: 11.48 kB / 409.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.2071, allocations: 62.62 kB / 410 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.738e-05/0.2072, allocations: 84.81 kB / 410 MB, free: 10.4 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2072, allocations: 5.312 kB / 410 MB, free: 10.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2072, allocations: 3.938 kB / 410 MB, free: 10.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.2072, allocations: 3.938 kB / 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.0003096/0.2075, allocations: 381.1 kB / 410.4 MB, free: 10 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.2075, allocations: 9.219 kB / 410.4 MB, free: 10 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.2076, allocations: 11.47 kB / 410.4 MB, free: 10 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2077, allocations: 204.5 kB / 410.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.2077, allocations: 11.22 kB / 410.7 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.2078, allocations: 13.84 kB / 410.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.2079, allocations: 91.16 kB / 410.8 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.2079, allocations: 0 / 410.8 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2079, allocations: 6 kB / 410.8 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2079, allocations: 2 kB / 410.8 MB, free: 9.691 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.208, allocations: 31.2 kB / 410.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.2084, allocations: 0.5329 MB / 411.3 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.2085, allocations: 36.33 kB / 411.4 MB, free: 9.148 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.2085, allocations: 19.61 kB / 411.4 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/0.2085, allocations: 0 / 411.4 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.2086, allocations: 40.52 kB / 411.4 MB, free: 9.086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.2086, allocations: 0 / 411.4 MB, free: 9.086 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001279/0.2087, allocations: 54.38 kB / 411.5 MB, free: 9.047 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.653e-05/0.2087, allocations: 52.53 kB / 411.5 MB, free: 8.984 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2088, allocations: 175.1 kB / 411.7 MB, free: 8.855 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-06/0.2088, allocations: 26.73 kB / 411.7 MB, free: 8.824 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.2089, allocations: 126.4 kB / 411.8 MB, free: 8.707 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-06/0.2089, allocations: 10.56 kB / 411.9 MB, free: 8.699 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.2089, allocations: 25.75 kB / 411.9 MB, free: 8.676 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.775e-05/0.209, allocations: 320.4 kB / 412.2 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.209, allocations: 18.28 kB / 412.2 MB, free: 8.355 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-05/0.2091, allocations: 86.73 kB / 412.3 MB, free: 8.266 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.624e-05/0.2092, allocations: 100.7 kB / 412.4 MB, free: 8.168 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2092, allocations: 0.9688 kB / 412.4 MB, free: 8.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001545/0.2093, allocations: 135 kB / 412.5 MB, free: 8.094 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.2094, allocations: 144.7 kB / 412.7 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2094, allocations: 3.375 kB / 412.7 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2094, allocations: 2.719 kB / 412.7 MB, free: 7.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.2095, allocations: 37.8 kB / 412.7 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.2095, allocations: 2.312 kB / 412.7 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.2096, allocations: 14.31 kB / 412.7 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.2096, allocations: 9.25 kB / 412.7 MB, free: 7.906 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.669e-06/0.2096, allocations: 3.344 kB / 412.7 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001177/0.2097, allocations: 92.92 kB / 412.8 MB, free: 7.871 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2097, allocations: 10.64 kB / 412.8 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-06/0.2097, allocations: 7.594 kB / 412.8 MB, free: 7.859 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.334e-05/0.2098, allocations: 32.12 kB / 412.9 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.2098, allocations: 3.953 kB / 412.9 MB, free: 7.852 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.2099, allocations: 12.83 kB / 412.9 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2099, allocations: 5.406 kB / 412.9 MB, free: 7.844 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 5.412e-05/0.2099, allocations: 199.1 kB / 413.1 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.21, allocations: 8 kB / 413.1 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.21, allocations: 16.92 kB / 413.1 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.21, allocations: 1.219 kB / 413.1 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.21, allocations: 4 kB / 413.1 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.21, allocations: 0.6562 kB / 413.1 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.2102, allocations: 336.1 kB / 413.5 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2102, allocations: 4 kB / 413.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.2103, allocations: 9.359 kB / 413.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2103, allocations: 2.141 kB / 413.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2103, allocations: 1.281 kB / 413.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2103, allocations: 0 / 413.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2103, allocations: 6.375 kB / 413.5 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.828e-05/0.2105, allocations: 169.2 kB / 413.6 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.2105, allocations: 90.09 kB / 413.7 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2105, allocations: 2.016 kB / 413.7 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.2106, allocations: 1 kB / 413.7 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.2106, allocations: 1.938 kB / 413.7 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.2106, allocations: 6.219 kB / 413.7 MB, free: 7.008 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.188e-05/0.2107, allocations: 124.7 kB / 413.9 MB, free: 6.918 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2107, allocations: 0 / 413.9 MB, free: 6.918 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.211, allocations: 37.09 kB / 413.9 MB, free: 6.91 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.72e-05/0.211, allocations: 104.8 kB / 414 MB, free: 6.816 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.2112, allocations: 100.8 kB / 414.1 MB, free: 6.785 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2112, allocations: 4 kB / 414.1 MB, free: 6.781 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.47e-05/0.2112, allocations: 11.91 kB / 414.1 MB, free: 6.777 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.2116, allocations: 34.5 kB / 414.1 MB, free: 6.766 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.212, allocations: 340.8 kB / 414.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.75e-05/0.2121, allocations: 0.7035 MB / 415.2 MB, free: 5.809 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.877e-05/0.2121, allocations: 14.83 kB / 415.2 MB, free: 5.801 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.2122, allocations: 15.84 kB / 415.2 MB, free: 5.789 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2122, allocations: 0 / 415.2 MB, free: 5.789 MB / 286.1 MB Notification: Performance of Templates: time 0.003132/0.2153, allocations: 1.005 MB / 416.2 MB, free: 5.695 MB / 286.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe 2>&1)