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.001401/0.001401, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00198/0.00198, allocations: 190.5 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.416/2.416, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.001175/0.001175, allocations: 51.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2934, allocations: 46.63 MB / 324.8 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003411/0.2968, allocations: 1.643 MB / 326.5 MB, free: 0.6289 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007356/0.2976, allocations: 463.5 kB / 326.9 MB, free: 276 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.2977, allocations: 3.156 kB / 326.9 MB, free: 276 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.98e-05/0.2977, allocations: 11.92 kB / 326.9 MB, free: 264 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.2978, allocations: 3.938 kB / 327 MB, free: 260 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.298, allocations: 27.5 kB / 327 MB, free: 236 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 9.875e-05/0.2981, allocations: 56.02 kB / 327 MB, free: 204 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.2983, allocations: 51.69 kB / 327.1 MB, free: 172 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.2985, allocations: 33.59 kB / 327.1 MB, free: 148 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.2985, allocations: 26.86 kB / 327.1 MB, free: 128 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.2986, allocations: 5.594 kB / 327.1 MB, free: 128 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.2986, allocations: 8.844 kB / 327.2 MB, free: 124 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.2986, allocations: 10.33 kB / 327.2 MB, free: 116 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.2987, allocations: 26.31 kB / 327.2 MB, free: 96 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.2988, allocations: 75.58 kB / 327.3 MB, free: 36 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2988, allocations: 0 / 327.3 MB, free: 36 kB / 254.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2988, allocations: 0 / 327.3 MB, free: 36 kB / 254.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.2988, allocations: 0 / 327.3 MB, free: 36 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.00059/0.2994, allocations: 378.5 kB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.2995, allocations: 9.312 kB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.2995, allocations: 13.22 kB / 327.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.2997, allocations: 175.3 kB / 327.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.2998, allocations: 2.781 kB / 327.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.2998, allocations: 13.02 kB / 327.8 MB, free: 15.42 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.3002, allocations: 118.5 kB / 328 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3002, allocations: 4 kB / 328 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.3002, allocations: 1.219 kB / 328 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3003, allocations: 1.406 kB / 328 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.3005, allocations: 58.86 kB / 328 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000866/0.3013, allocations: 0.6308 MB / 328.7 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.3016, allocations: 121.5 kB / 328.8 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.3018, allocations: 52.5 kB / 328.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.3018, allocations: 1.438 kB / 328.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.3019, allocations: 39.97 kB / 328.9 MB, free: 14.38 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.3019, allocations: 1.344 kB / 328.9 MB, free: 14.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006061/0.3025, allocations: 121 kB / 329 MB, free: 14.3 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.3026, allocations: 165 kB / 329.1 MB, free: 14.11 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.3027, allocations: 123.4 kB / 329.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3027, allocations: 25.7 kB / 329.3 MB, free: 13.96 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.3028, allocations: 103.6 kB / 329.4 MB, free: 13.86 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.3028, allocations: 18.12 kB / 329.4 MB, free: 13.84 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.3029, allocations: 19.69 kB / 329.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.3031, allocations: 320.3 kB / 329.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.3032, allocations: 24.17 kB / 329.8 MB, free: 13.49 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.3034, allocations: 51.09 kB / 329.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.3037, allocations: 89.59 kB / 329.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3037, allocations: 0 / 329.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002385/0.3039, allocations: 97.12 kB / 330 MB, free: 13.3 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3039, allocations: 5.656 kB / 330 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.304, allocations: 5 kB / 330 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.304, allocations: 2.062 kB / 330 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3041, allocations: 17.23 kB / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3041, allocations: 1.219 kB / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.3043, allocations: 9.594 kB / 330 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3043, allocations: 6.625 kB / 330 MB, free: 13.29 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.393e-05/0.3044, allocations: 119.3 kB / 330.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.279e-05/0.3045, allocations: 10.41 kB / 330.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.3045, allocations: 14.25 kB / 330.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3046, allocations: 2.031 kB / 330.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3046, allocations: 1.125 kB / 330.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.3046, allocations: 6.094 kB / 330.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.305, allocations: 184.2 kB / 330.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.305, allocations: 1.281 kB / 330.4 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.821e-05/0.3051, allocations: 17.11 kB / 330.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3051, allocations: 2.125 kB / 330.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3051, allocations: 2.125 kB / 330.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3051, allocations: 5.031 kB / 330.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3051, allocations: 2.188 kB / 330.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.3059, allocations: 497.7 kB / 330.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.306, allocations: 87.28 kB / 331 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.306, allocations: 2.094 kB / 331 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.3064, allocations: 8.688 kB / 331 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.724e-05/0.3065, allocations: 15.5 kB / 331 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3065, allocations: 3.625 kB / 331 MB, free: 12.33 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.334e-05/0.3065, allocations: 95.36 kB / 331.1 MB, free: 12.24 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3065, allocations: 4 kB / 331.1 MB, free: 12.24 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.3069, allocations: 13.34 kB / 331.1 MB, free: 12.23 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.0001196/0.307, allocations: 93.38 kB / 331.2 MB, free: 12.15 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.3073, allocations: 61.7 kB / 331.3 MB, free: 12.12 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3073, allocations: 1.125 kB / 331.3 MB, free: 12.12 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3075, allocations: 40.3 kB / 331.3 MB, free: 12.1 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.308, allocations: 3.156 kB / 331.3 MB, free: 12.1 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005087/0.3085, allocations: 220.7 kB / 331.5 MB, free: 11.89 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.3091, allocations: 0.6987 MB / 332.2 MB, free: 11.18 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.495e-05/0.3092, allocations: 4.922 kB / 332.2 MB, free: 11.18 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.3092, allocations: 14.75 kB / 332.2 MB, free: 11.16 MB / 270.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3092, allocations: 0 / 332.2 MB, free: 11.16 MB / 270.1 MB Notification: Performance of Templates: time 0.0028/0.312, allocations: 472.7 kB / 332.7 MB, free: 10.93 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)