Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_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.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, 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.002235/0.002235, 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008306/0.008306, allocations: 1.343 MB / 291.3 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002917/0.002917, allocations: 63.89 kB / 354.5 MB, free: 15.38 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2547, allocations: 49.74 MB / 404.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.002603/0.2573, allocations: 1.741 MB / 406 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008261/0.2582, allocations: 0.5355 MB / 406.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.2583, allocations: 2.375 kB / 406.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.2585, allocations: 13.83 kB / 406.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.361e-05/0.2586, allocations: 20.89 kB / 406.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2588, allocations: 74.69 kB / 406.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.259, allocations: 117.1 kB / 406.8 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2591, allocations: 45.66 kB / 406.8 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.2592, allocations: 39.2 kB / 406.8 MB, free: 10.11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.792e-05/0.2592, allocations: 43.34 kB / 406.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.2593, allocations: 6.406 kB / 406.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.982e-05/0.2593, allocations: 5.156 kB / 406.9 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.2593, allocations: 23.94 kB / 406.9 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.2594, allocations: 48.27 kB / 407 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.2595, allocations: 109.3 kB / 407.1 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2595, allocations: 4 kB / 407.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2595, allocations: 0 / 407.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2595, allocations: 0 / 407.1 MB, free: 9.996 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004379/0.26, allocations: 428.5 kB / 407.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.26, allocations: 9.75 kB / 407.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.2601, allocations: 15.19 kB / 407.5 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.2602, allocations: 201.7 kB / 407.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.2603, allocations: 8.062 kB / 407.7 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.2603, allocations: 14.91 kB / 407.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2605, allocations: 107.7 kB / 407.8 MB, free: 9.266 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2605, allocations: 0 / 407.8 MB, free: 9.266 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2605, allocations: 5.656 kB / 407.9 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2605, allocations: 1.625 kB / 407.9 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.2606, allocations: 35.38 kB / 407.9 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.2612, allocations: 0.5541 MB / 408.4 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.2613, allocations: 47.7 kB / 408.5 MB, free: 8.711 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.2613, allocations: 21.77 kB / 408.5 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.2613, allocations: 3.234 kB / 408.5 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.028e-05/0.2613, allocations: 30.56 kB / 408.5 MB, free: 8.656 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2614, allocations: 0 / 408.5 MB, free: 8.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001766/0.2615, allocations: 81.19 kB / 408.6 MB, free: 8.598 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.2616, allocations: 53.22 kB / 408.7 MB, free: 8.535 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2617, allocations: 179.5 kB / 408.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.2617, allocations: 25.7 kB / 408.9 MB, free: 8.379 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.2618, allocations: 116.9 kB / 409 MB, free: 8.27 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.2618, allocations: 23.52 kB / 409 MB, free: 8.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.2618, allocations: 32.02 kB / 409 MB, free: 8.227 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.017e-05/0.2619, allocations: 322.1 kB / 409.4 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.2619, allocations: 23.75 kB / 409.4 MB, free: 7.902 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.262, allocations: 53.41 kB / 409.4 MB, free: 7.859 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.59e-05/0.2621, allocations: 75.92 kB / 409.5 MB, free: 7.801 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2621, allocations: 0 / 409.5 MB, free: 7.801 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001569/0.2623, allocations: 117.8 kB / 409.6 MB, free: 7.734 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2623, allocations: 5.969 kB / 409.6 MB, free: 7.734 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2623, allocations: 6.484 kB / 409.6 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2623, allocations: 5.594 kB / 409.6 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2625, allocations: 34.14 kB / 409.7 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2625, allocations: 2.375 kB / 409.7 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.2625, allocations: 11.38 kB / 409.7 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.2626, allocations: 3.406 kB / 409.7 MB, free: 7.711 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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.822e-05/0.2626, allocations: 124.9 kB / 409.8 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.2627, allocations: 7.938 kB / 409.8 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.2627, allocations: 17.53 kB / 409.8 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2627, allocations: 1.094 kB / 409.8 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2627, allocations: 5.188 kB / 409.8 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2627, allocations: 0 / 409.8 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.263, allocations: 351.7 kB / 410.2 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.263, allocations: 2.062 kB / 410.2 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.2632, allocations: 20.45 kB / 410.2 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2632, allocations: 5.641 kB / 410.2 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2632, allocations: 5.031 kB / 410.2 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006413/0.2639, allocations: 1.307 MB / 411.5 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2639, allocations: 1.719 kB / 411.5 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.264, allocations: 185.5 kB / 411.7 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.2641, allocations: 86.77 kB / 411.8 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2641, allocations: 5.656 kB / 411.8 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.2642, allocations: 1.281 kB / 411.8 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.2642, allocations: 7.672 kB / 411.8 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2642, allocations: 1.219 kB / 411.8 MB, free: 5.578 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.2644, allocations: 136.7 kB / 411.9 MB, free: 5.48 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2644, allocations: 0 / 411.9 MB, free: 5.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.2646, allocations: 22.44 kB / 412 MB, free: 5.477 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 (4): * Single equations (assignments): 3 * 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 7.669e-05/0.2647, allocations: 102.8 kB / 412.1 MB, free: 5.387 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.2649, allocations: 57.31 kB / 412.1 MB, free: 5.367 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2649, allocations: 0 / 412.1 MB, free: 5.367 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.265, allocations: 28.66 kB / 412.2 MB, free: 5.359 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.2654, allocations: 35.81 kB / 412.2 MB, free: 5.348 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.266, allocations: 345.3 kB / 412.5 MB, free: 5.066 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.2661, allocations: 0.7066 MB / 413.2 MB, free: 4.367 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.2662, allocations: 11.03 kB / 413.2 MB, free: 4.367 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.2662, allocations: 13.73 kB / 413.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.2662, allocations: 0 / 413.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of Templates: time 0.004336/0.2706, allocations: 1.161 MB / 414.4 MB, free: 4.246 MB / 286.1 MB make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.makefile (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1)