Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.BusUsage.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001857/0.001858, allocations: 188 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 222.1 MB, free: 4.594 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001669/0.00167, allocations: 47.94 kB / 278.2 MB, free: 12.55 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.368, allocations: 46.62 MB / 324.8 MB, free: 2.07 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003307/0.3713, allocations: 1.65 MB / 326.5 MB, free: 0.7734 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008526/0.3722, allocations: 463 kB / 326.9 MB, free: 424 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.651e-05/0.3723, allocations: 1.031 kB / 326.9 MB, free: 424 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 5.433e-05/0.3724, allocations: 12.86 kB / 327 MB, free: 412 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.3725, allocations: 5.375 kB / 327 MB, free: 408 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.3727, allocations: 23.02 kB / 327 MB, free: 388 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.3728, allocations: 60.45 kB / 327 MB, free: 352 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.373, allocations: 44.48 kB / 327.1 MB, free: 328 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.3732, allocations: 24.89 kB / 327.1 MB, free: 312 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.495e-05/0.3732, allocations: 26.8 kB / 327.1 MB, free: 292 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.3733, allocations: 9.156 kB / 327.1 MB, free: 288 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.666e-05/0.3733, allocations: 5.781 kB / 327.1 MB, free: 288 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.3733, allocations: 13.52 kB / 327.2 MB, free: 276 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.3734, allocations: 30.52 kB / 327.2 MB, free: 252 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.3735, allocations: 79.22 kB / 327.3 MB, free: 188 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3735, allocations: 0 / 327.3 MB, free: 188 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3735, allocations: 1.188 kB / 327.3 MB, free: 188 kB / 254.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.3735, allocations: 0 / 327.3 MB, free: 188 kB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006499/0.3742, allocations: 377.2 kB / 327.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.3742, allocations: 13.31 kB / 327.7 MB, free: 15.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.3743, allocations: 9.719 kB / 327.7 MB, free: 15.79 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.3745, allocations: 175.6 kB / 327.8 MB, free: 15.58 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.3745, allocations: 2.656 kB / 327.8 MB, free: 15.58 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.3745, allocations: 9.031 kB / 327.8 MB, free: 15.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.3749, allocations: 122.8 kB / 328 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3749, allocations: 0 / 328 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.3749, allocations: 0.9688 kB / 328 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.3749, allocations: 2.281 kB / 328 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.3751, allocations: 58.2 kB / 328 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008729/0.376, allocations: 0.6349 MB / 328.7 MB, free: 14.77 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.3762, allocations: 121 kB / 328.8 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.3763, allocations: 48.56 kB / 328.8 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.3764, allocations: 9.188 kB / 328.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3764, allocations: 36.81 kB / 328.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3764, allocations: 0 / 328.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004947/0.3769, allocations: 126.4 kB / 329 MB, free: 14.45 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/0.377, allocations: 160.5 kB / 329.1 MB, free: 14.26 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3772, allocations: 119.5 kB / 329.3 MB, free: 14.14 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.3772, allocations: 25.7 kB / 329.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.3773, allocations: 95.44 kB / 329.4 MB, free: 14.02 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.3773, allocations: 27 kB / 329.4 MB, free: 14 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.3773, allocations: 18.25 kB / 329.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3775, allocations: 325.2 kB / 329.7 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.3775, allocations: 20.33 kB / 329.8 MB, free: 13.64 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/0.3776, allocations: 54.05 kB / 329.8 MB, free: 13.59 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3778, allocations: 86.61 kB / 329.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3778, allocations: 0 / 329.9 MB, free: 13.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002206/0.3781, allocations: 100.7 kB / 330 MB, free: 13.45 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3781, allocations: 5.531 kB / 330 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3781, allocations: 1.156 kB / 330 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3781, allocations: 2.438 kB / 330 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3782, allocations: 12.64 kB / 330 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3782, allocations: 1.406 kB / 330 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.436e-05/0.3783, allocations: 9.344 kB / 330 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3783, allocations: 6.875 kB / 330 MB, free: 13.44 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.425e-05/0.3784, allocations: 127.4 kB / 330.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/0.3785, allocations: 10.69 kB / 330.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.3786, allocations: 10.25 kB / 330.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3786, allocations: 1.344 kB / 330.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3786, allocations: 2.625 kB / 330.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3786, allocations: 5.312 kB / 330.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.379, allocations: 188.4 kB / 330.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.379, allocations: 1.438 kB / 330.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.3791, allocations: 13.14 kB / 330.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3791, allocations: 1.094 kB / 330.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3791, allocations: 6.281 kB / 330.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3791, allocations: 1.25 kB / 330.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3791, allocations: 1.188 kB / 330.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.3795, allocations: 497.5 kB / 330.9 MB, free: 12.6 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.3796, allocations: 92.2 kB / 331 MB, free: 12.49 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.3796, allocations: 2.656 kB / 331 MB, free: 12.49 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3798, allocations: 7.969 kB / 331 MB, free: 12.49 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.3799, allocations: 11.58 kB / 331 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.3799, allocations: 3.156 kB / 331 MB, free: 12.48 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.644e-05/0.38, allocations: 95.98 kB / 331.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.38, allocations: 4 kB / 331.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.3804, allocations: 13.12 kB / 331.1 MB, free: 12.39 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 0.0001216/0.3805, allocations: 102 kB / 331.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.3807, allocations: 57.67 kB / 331.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3808, allocations: 1.438 kB / 331.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3809, allocations: 39.48 kB / 331.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.3814, allocations: 3.156 kB / 331.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.3819, allocations: 225.3 kB / 331.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3822, allocations: 0.69 MB / 332.2 MB, free: 11.33 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.685e-05/0.3822, allocations: 6.328 kB / 332.2 MB, free: 11.33 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.3822, allocations: 13.5 kB / 332.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3822, allocations: 0 / 332.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of Templates: time 0.002713/0.385, allocations: 480.9 kB / 332.7 MB, free: 11.07 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.1_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe 2>&1)