Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001065/0.001065, 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.001321/0.001321, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.528/1.528, allocations: 205.1 MB / 222 MB, free: 4.758 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.001348/0.001348, allocations: 55.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2693, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00292/0.2723, allocations: 1.642 MB / 326.3 MB, free: 0.6367 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007096/0.273, allocations: 465.9 kB / 326.8 MB, free: 280 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.2731, allocations: 2.344 kB / 326.8 MB, free: 280 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 5.052e-05/0.2731, allocations: 7.922 kB / 326.8 MB, free: 272 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.897e-05/0.2732, allocations: 9.297 kB / 326.8 MB, free: 264 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.2734, allocations: 23.14 kB / 326.8 MB, free: 244 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2735, allocations: 58.88 kB / 326.9 MB, free: 208 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.2737, allocations: 43.34 kB / 326.9 MB, free: 184 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.2738, allocations: 34.66 kB / 326.9 MB, free: 160 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.2739, allocations: 26.23 kB / 327 MB, free: 140 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.2739, allocations: 3.031 kB / 327 MB, free: 140 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.274, allocations: 4.469 kB / 327 MB, free: 140 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.274, allocations: 15.67 kB / 327 MB, free: 128 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.274, allocations: 29.36 kB / 327 MB, free: 104 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 9.786e-05/0.2741, allocations: 59.78 kB / 327.1 MB, free: 56 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2741, allocations: 0 / 327.1 MB, free: 56 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2741, allocations: 3.5 kB / 327.1 MB, free: 56 kB / 254.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2742, allocations: 4 kB / 327.1 MB, free: 52 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.0005378/0.2747, allocations: 376.5 kB / 327.5 MB, free: 15.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2747, allocations: 8.469 kB / 327.5 MB, free: 15.66 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.2748, allocations: 7.875 kB / 327.5 MB, free: 15.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2749, allocations: 173.4 kB / 327.6 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.275, allocations: 12.19 kB / 327.7 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.275, allocations: 4.281 kB / 327.7 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.2752, allocations: 115.9 kB / 327.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2752, allocations: 1.438 kB / 327.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.2753, allocations: 1.344 kB / 327.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2753, allocations: 1.312 kB / 327.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.2755, allocations: 62.36 kB / 327.8 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000649/0.2761, allocations: 0.635 MB / 328.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.2763, allocations: 113 kB / 328.6 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.2764, allocations: 59.84 kB / 328.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2765, allocations: 2.438 kB / 328.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.2765, allocations: 32.94 kB / 328.7 MB, free: 14.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2765, allocations: 0 / 328.7 MB, free: 14.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004924/0.277, allocations: 125 kB / 328.8 MB, free: 14.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.2771, allocations: 165.1 kB / 329 MB, free: 14.13 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2772, allocations: 119.3 kB / 329.1 MB, free: 14.02 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2773, allocations: 26.33 kB / 329.1 MB, free: 13.99 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.2773, allocations: 115.2 kB / 329.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.2774, allocations: 14.25 kB / 329.2 MB, free: 13.86 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.2774, allocations: 19.03 kB / 329.2 MB, free: 13.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2775, allocations: 320.9 kB / 329.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.2776, allocations: 20.64 kB / 329.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.75e-05/0.2777, allocations: 57.89 kB / 329.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.2779, allocations: 78.3 kB / 329.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2779, allocations: 4.125 kB / 329.7 MB, free: 13.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002202/0.2781, allocations: 101.6 kB / 329.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2782, allocations: 5.594 kB / 329.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2782, allocations: 1.5 kB / 329.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2782, allocations: 1.312 kB / 329.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.2783, allocations: 12.2 kB / 329.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.2783, allocations: 7.156 kB / 329.8 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.2784, allocations: 15.69 kB / 329.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2784, allocations: 3.656 kB / 329.9 MB, free: 13.3 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.214e-05/0.2785, allocations: 118.8 kB / 330 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/0.2786, allocations: 7.406 kB / 330 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.2786, allocations: 14.45 kB / 330 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2786, allocations: 1.438 kB / 330 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2787, allocations: 1.094 kB / 330 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.2787, allocations: 5.094 kB / 330 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.279, allocations: 189.8 kB / 330.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.279, allocations: 0.9375 kB / 330.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.2791, allocations: 13.05 kB / 330.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.2791, allocations: 1.375 kB / 330.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2791, allocations: 2.125 kB / 330.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.2792, allocations: 6.031 kB / 330.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2792, allocations: 1.188 kB / 330.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.2795, allocations: 493 kB / 330.7 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.2796, allocations: 88.28 kB / 330.8 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.2796, allocations: 6.562 kB / 330.8 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.2798, allocations: 4.5 kB / 330.8 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.2799, allocations: 19.3 kB / 330.8 MB, free: 12.35 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2799, allocations: 3.344 kB / 330.8 MB, free: 12.35 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.392e-05/0.2799, allocations: 99.42 kB / 330.9 MB, free: 12.26 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2799, allocations: 1 kB / 330.9 MB, free: 12.26 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.2803, allocations: 12.94 kB / 330.9 MB, free: 12.26 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 9.686e-05/0.2804, allocations: 97.34 kB / 331 MB, free: 12.17 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.2807, allocations: 61.42 kB / 331.1 MB, free: 12.14 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2807, allocations: 1.125 kB / 331.1 MB, free: 12.14 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.2808, allocations: 35.27 kB / 331.1 MB, free: 12.12 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.2813, allocations: 3.25 kB / 331.1 MB, free: 12.12 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.2817, allocations: 229.9 kB / 331.3 MB, free: 11.91 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.282, allocations: 0.6908 MB / 332 MB, free: 11.2 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.475e-05/0.282, allocations: 6.062 kB / 332 MB, free: 11.2 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.2821, allocations: 9.594 kB / 332 MB, free: 11.19 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2821, allocations: 0 / 332 MB, free: 11.19 MB / 270.1 MB Notification: Performance of Templates: time 0.00253/0.2846, allocations: 463.9 kB / 332.5 MB, free: 10.96 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe 2>&1)