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.00112/0.00112, allocations: 96.41 kB / 15.05 MB, free: 1.109 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.0009119/0.0009119, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.000533/0.0005334, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2951, allocations: 47.58 MB / 326.4 MB, free: 1.461 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001712/0.2969, allocations: 1.284 MB / 327.7 MB, free: 456 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006247/0.2975, allocations: 441 kB / 328.1 MB, free: 108 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.2976, allocations: 2.312 kB / 328.2 MB, free: 108 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.2976, allocations: 7.922 kB / 328.2 MB, free: 100 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.346e-05/0.2977, allocations: 10.14 kB / 328.2 MB, free: 92 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.2979, allocations: 11.42 kB / 328.2 MB, free: 84 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 7.982e-05/0.298, allocations: 39.86 kB / 328.2 MB, free: 56 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.2981, allocations: 41.66 kB / 328.3 MB, free: 32 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.822e-05/0.2982, allocations: 23.33 kB / 328.3 MB, free: 16 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.2983, allocations: 22.81 kB / 328.3 MB, free: 0 / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.2983, allocations: 1.312 kB / 328.3 MB, free: 0 / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.2984, allocations: 2.672 kB / 328.3 MB, free: 16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.2984, allocations: 12.84 kB / 328.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.2984, allocations: 37.42 kB / 328.4 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 6.933e-05/0.2985, allocations: 44.33 kB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2985, allocations: 1.562 kB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2985, allocations: 0 / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.2985, allocations: 0 / 328.4 MB, free: 15.91 MB / 270.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.0005786/0.2991, allocations: 375 kB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2992, allocations: 9.125 kB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.2992, allocations: 7.906 kB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.2994, allocations: 168.9 kB / 328.9 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.2994, allocations: 7.953 kB / 329 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.2994, allocations: 5.562 kB / 329 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.2997, allocations: 120.3 kB / 329.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2997, allocations: 7.641 kB / 329.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2997, allocations: 4 kB / 329.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2997, allocations: 0 / 329.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.2999, allocations: 68.33 kB / 329.2 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006938/0.3007, allocations: 0.6514 MB / 329.8 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3009, allocations: 117.8 kB / 329.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.3009, allocations: 1.156 kB / 329.9 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3009, allocations: 40.83 kB / 330 MB, free: 14.3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3009, allocations: 4 kB / 330 MB, free: 14.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004775/0.3014, allocations: 135.4 kB / 330.1 MB, free: 14.23 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/0.3015, allocations: 160.3 kB / 330.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3017, allocations: 124 kB / 330.4 MB, free: 13.92 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3017, allocations: 25.7 kB / 330.4 MB, free: 13.89 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.3018, allocations: 91.69 kB / 330.5 MB, free: 13.8 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.3018, allocations: 22.03 kB / 330.5 MB, free: 13.78 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.3018, allocations: 3.938 kB / 330.5 MB, free: 13.78 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3019, allocations: 325.3 kB / 330.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.909e-05/0.302, allocations: 24.77 kB / 330.9 MB, free: 13.45 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3021, allocations: 51.5 kB / 330.9 MB, free: 13.4 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.947e-05/0.3022, allocations: 29.8 kB / 330.9 MB, free: 13.39 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3023, allocations: 1.219 kB / 330.9 MB, free: 13.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002459/0.3025, allocations: 110.1 kB / 331 MB, free: 13.32 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3025, allocations: 8.828 kB / 331.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3026, allocations: 1.031 kB / 331.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3026, allocations: 2.375 kB / 331.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3027, allocations: 10.66 kB / 331.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3027, allocations: 6.469 kB / 331.1 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.3028, allocations: 15.09 kB / 331.1 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3028, allocations: 2.531 kB / 331.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/0.3029, allocations: 123.1 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/0.303, allocations: 11.31 kB / 331.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.3031, allocations: 13.95 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3031, allocations: 2.594 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3031, allocations: 5.5 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3031, allocations: 0.9375 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.3036, allocations: 184.8 kB / 331.4 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3036, allocations: 1 kB / 331.4 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.3037, allocations: 15.45 kB / 331.4 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3037, allocations: 1.469 kB / 331.4 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3037, allocations: 5.469 kB / 331.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3037, allocations: 6.875 kB / 331.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3037, allocations: 1.469 kB / 331.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.3044, allocations: 0.5406 MB / 332 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.3045, allocations: 91.19 kB / 332.1 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.3045, allocations: 6.203 kB / 332.1 MB, free: 12.28 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.3047, allocations: 7.281 kB / 332.1 MB, free: 12.28 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.3048, allocations: 16.08 kB / 332.1 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3048, allocations: 2.25 kB / 332.1 MB, free: 12.27 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.007e-05/0.3049, allocations: 91.64 kB / 332.2 MB, free: 12.19 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3049, allocations: 0 / 332.2 MB, free: 12.19 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.3053, allocations: 9.469 kB / 332.2 MB, free: 12.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001795/0.3055, allocations: 97.16 kB / 332.3 MB, free: 12.1 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.3058, allocations: 74.8 kB / 332.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3058, allocations: 0 / 332.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3059, allocations: 41.55 kB / 332.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.3063, allocations: 6.422 kB / 332.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.3068, allocations: 235.3 kB / 332.7 MB, free: 11.83 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3072, allocations: 0.6962 MB / 333.4 MB, free: 11.12 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.973e-05/0.3072, allocations: 9.266 kB / 333.4 MB, free: 11.11 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.3072, allocations: 9.812 kB / 333.4 MB, free: 11.11 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3072, allocations: 0 / 333.4 MB, free: 11.11 MB / 270.1 MB Notification: Performance of Templates: time 0.002872/0.3101, allocations: 444.1 kB / 333.8 MB, free: 10.88 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: