Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.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_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002709/0.002719, allocations: 106.9 kB / 15.99 MB, free: 6.363 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.00302/0.00302, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.896/1.896, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.009958/0.009958, allocations: 1.338 MB / 292.1 MB, free: 13.56 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002996/0.002996, allocations: 59.89 kB / 355.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4111, allocations: 49.72 MB / 405.1 MB, free: 35.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.003777/0.4149, allocations: 1.854 MB / 407 MB, free: 33.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.4161, allocations: 0.5378 MB / 407.5 MB, free: 32.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.4162, allocations: 4 kB / 407.5 MB, free: 32.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.4164, allocations: 15.86 kB / 407.5 MB, free: 32.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.616e-05/0.4165, allocations: 27.77 kB / 407.6 MB, free: 32.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.4169, allocations: 75.92 kB / 407.6 MB, free: 32.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.4171, allocations: 159.4 kB / 407.8 MB, free: 32.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.4173, allocations: 48.77 kB / 407.8 MB, free: 32.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.4175, allocations: 51.73 kB / 407.9 MB, free: 32.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.4176, allocations: 55.7 kB / 407.9 MB, free: 32.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.4176, allocations: 16 kB / 408 MB, free: 32.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.573e-05/0.4177, allocations: 8 kB / 408 MB, free: 32.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.4177, allocations: 27.86 kB / 408 MB, free: 32.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.512e-05/0.4178, allocations: 63.61 kB / 408.1 MB, free: 32.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.418, allocations: 99.77 kB / 408.2 MB, free: 32.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.418, allocations: 4 kB / 408.2 MB, free: 32.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.418, allocations: 0 / 408.2 MB, free: 32.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.418, allocations: 0 / 408.2 MB, free: 32.14 MB / 302.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.0007848/0.4188, allocations: 442.8 kB / 408.6 MB, free: 31.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/0.4189, allocations: 15.88 kB / 408.6 MB, free: 31.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.419, allocations: 20.75 kB / 408.6 MB, free: 31.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.4192, allocations: 210.4 kB / 408.8 MB, free: 31.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.4193, allocations: 12.36 kB / 408.8 MB, free: 31.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.4193, allocations: 12.38 kB / 408.9 MB, free: 31.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.4196, allocations: 116.9 kB / 409 MB, free: 31.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4196, allocations: 4 kB / 409 MB, free: 31.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.4197, allocations: 4 kB / 409 MB, free: 31.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.4197, allocations: 4 kB / 409 MB, free: 31.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.4199, allocations: 75.81 kB / 409.1 MB, free: 31.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008513/0.4207, allocations: 0.5045 MB / 409.6 MB, free: 30.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.421, allocations: 74.48 kB / 409.6 MB, free: 30.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.4211, allocations: 44.95 kB / 409.7 MB, free: 30.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.4211, allocations: 0 / 409.7 MB, free: 30.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.4211, allocations: 30.56 kB / 409.7 MB, free: 30.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4212, allocations: 0 / 409.7 MB, free: 30.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004471/0.4216, allocations: 121.5 kB / 409.8 MB, free: 30.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.4217, allocations: 51.41 kB / 409.9 MB, free: 30.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.4218, allocations: 186.8 kB / 410.1 MB, free: 30.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.4218, allocations: 29.7 kB / 410.1 MB, free: 30.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.4219, allocations: 127.6 kB / 410.2 MB, free: 29.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.4219, allocations: 19.72 kB / 410.2 MB, free: 29.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.422, allocations: 29.7 kB / 410.3 MB, free: 29.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.4221, allocations: 322.8 kB / 410.6 MB, free: 29.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.4222, allocations: 31.98 kB / 410.6 MB, free: 29.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.4223, allocations: 58.55 kB / 410.7 MB, free: 29.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.4225, allocations: 90.47 kB / 410.7 MB, free: 29.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4225, allocations: 3.938 kB / 410.8 MB, free: 29.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002492/0.4228, allocations: 145.3 kB / 410.9 MB, free: 29.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4228, allocations: 4 kB / 410.9 MB, free: 29.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4228, allocations: 7.922 kB / 410.9 MB, free: 29.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.4228, allocations: 4 kB / 410.9 MB, free: 29.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.423, allocations: 23.98 kB / 410.9 MB, free: 29.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.423, allocations: 4 kB / 410.9 MB, free: 29.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.4231, allocations: 11.92 kB / 410.9 MB, free: 29.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4231, allocations: 8.062 kB / 411 MB, free: 29.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 13 * 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 8.541e-05/0.4232, allocations: 121.8 kB / 411.1 MB, free: 28.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.4232, allocations: 15.81 kB / 411.1 MB, free: 28.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.4233, allocations: 21.33 kB / 411.1 MB, free: 28.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4233, allocations: 4 kB / 411.1 MB, free: 28.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4233, allocations: 0 / 411.1 MB, free: 28.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4233, allocations: 0 / 411.1 MB, free: 28.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.4238, allocations: 395.3 kB / 411.5 MB, free: 28.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4238, allocations: 0 / 411.5 MB, free: 28.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.424, allocations: 32.28 kB / 411.5 MB, free: 28.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.424, allocations: 0 / 411.5 MB, free: 28.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.4241, allocations: 8 kB / 411.5 MB, free: 28.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008497/0.4249, allocations: 1.408 MB / 412.9 MB, free: 26.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4249, allocations: 7.969 kB / 413 MB, free: 26.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.4253, allocations: 228.2 kB / 413.2 MB, free: 26.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.4253, allocations: 96.89 kB / 413.3 MB, free: 26.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.4253, allocations: 12.11 kB / 413.3 MB, free: 26.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4255, allocations: 8 kB / 413.3 MB, free: 26.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.4255, allocations: 7.922 kB / 413.3 MB, free: 26.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.4255, allocations: 7.938 kB / 413.3 MB, free: 26.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.308e-05/0.4256, allocations: 119.2 kB / 413.4 MB, free: 26.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4256, allocations: 3.938 kB / 413.4 MB, free: 26.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.4259, allocations: 24 kB / 413.5 MB, free: 26.35 MB / 302.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.000116/0.426, allocations: 107.2 kB / 413.6 MB, free: 26.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.4263, allocations: 79.88 kB / 413.6 MB, free: 26.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4263, allocations: 0 / 413.6 MB, free: 26.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.4266, allocations: 51.97 kB / 413.7 MB, free: 26.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.427, allocations: 46.7 kB / 413.7 MB, free: 26.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.4277, allocations: 394.2 kB / 414.1 MB, free: 25.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.4279, allocations: 0.7119 MB / 414.8 MB, free: 24.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.4279, allocations: 15.44 kB / 414.8 MB, free: 24.89 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4279, allocations: 0 / 414.8 MB, free: 24.89 MB / 302.1 MB Notification: Performance of Templates: time 0.00431/0.4322, allocations: 1.828 MB / 416.7 MB, free: 23.08 MB / 302.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1)