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.001089/0.001089, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001378/0.001378, allocations: 172.7 kB / 15.95 MB, free: 208 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.734/1.734, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004572/0.0004573, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3285, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001867/0.3304, allocations: 1.291 MB / 327.7 MB, free: 388 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006698/0.3311, allocations: 434.9 kB / 328.2 MB, free: 44 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.3311, allocations: 2.219 kB / 328.2 MB, free: 44 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.733e-05/0.3312, allocations: 3.938 kB / 328.2 MB, free: 40 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.917e-05/0.3313, allocations: 10.11 kB / 328.2 MB, free: 32 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.3315, allocations: 18.17 kB / 328.2 MB, free: 16 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.3316, allocations: 57.73 kB / 328.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.3318, allocations: 37.34 kB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.332, allocations: 23.67 kB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.332, allocations: 22.2 kB / 328.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3321, allocations: 5.469 kB / 328.3 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.3321, allocations: 5.188 kB / 328.4 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.3321, allocations: 14.45 kB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.3322, allocations: 36.39 kB / 328.4 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 8.306e-05/0.3322, allocations: 36.88 kB / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3323, allocations: 0.9688 kB / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3323, allocations: 0 / 328.4 MB, free: 15.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3323, allocations: 0 / 328.4 MB, free: 15.84 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.0005109/0.3328, allocations: 375.7 kB / 328.8 MB, free: 15.46 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3328, allocations: 8.406 kB / 328.8 MB, free: 15.46 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.3329, allocations: 17.97 kB / 328.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.333, allocations: 177.8 kB / 329 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.3331, allocations: 12.73 kB / 329 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3331, allocations: 3.75 kB / 329 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.3333, allocations: 116.7 kB / 329.1 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3334, allocations: 0 / 329.1 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3334, allocations: 7.781 kB / 329.1 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3334, allocations: 0 / 329.1 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.3336, allocations: 62.55 kB / 329.2 MB, free: 15.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.3343, allocations: 0.6436 MB / 329.8 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.3345, allocations: 118.2 kB / 330 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.3346, allocations: 61.28 kB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3347, allocations: 1.125 kB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3347, allocations: 44.83 kB / 330.1 MB, free: 14.18 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.3347, allocations: 0 / 330.1 MB, free: 14.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004789/0.3352, allocations: 136 kB / 330.2 MB, free: 14.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.545e-05/0.3353, allocations: 155.4 kB / 330.4 MB, free: 13.92 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3354, allocations: 123.3 kB / 330.5 MB, free: 13.8 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3355, allocations: 27.14 kB / 330.5 MB, free: 13.77 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.3355, allocations: 102.6 kB / 330.6 MB, free: 13.67 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.3356, allocations: 18.47 kB / 330.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.3356, allocations: 4.125 kB / 330.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3357, allocations: 321.4 kB / 330.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.3358, allocations: 23.92 kB / 331 MB, free: 13.32 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3359, allocations: 60.22 kB / 331 MB, free: 13.27 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.336, allocations: 34.53 kB / 331.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.336, allocations: 0 / 331.1 MB, free: 13.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002524/0.3363, allocations: 105.8 kB / 331.2 MB, free: 13.19 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.3363, allocations: 5.406 kB / 331.2 MB, free: 13.19 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3363, allocations: 1.406 kB / 331.2 MB, free: 13.19 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.3364, allocations: 2.875 kB / 331.2 MB, free: 13.19 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.3365, allocations: 14.25 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.3365, allocations: 9.828 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.988e-05/0.3366, allocations: 11.39 kB / 331.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3366, allocations: 2.281 kB / 331.2 MB, free: 13.17 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 0.0001498/0.3368, allocations: 119.9 kB / 331.3 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.3369, allocations: 10.86 kB / 331.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.3369, allocations: 13.58 kB / 331.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.3369, allocations: 6.344 kB / 331.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.337, allocations: 1.188 kB / 331.4 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.337, allocations: 5.938 kB / 331.4 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.3373, allocations: 184.9 kB / 331.5 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3374, allocations: 1.469 kB / 331.5 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.285e-05/0.3374, allocations: 14.61 kB / 331.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3375, allocations: 2.719 kB / 331.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3375, allocations: 1.625 kB / 331.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.3375, allocations: 8.766 kB / 331.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3375, allocations: 1.406 kB / 331.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.3379, allocations: 0.5036 MB / 332.1 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.338, allocations: 87.3 kB / 332.2 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.338, allocations: 6.203 kB / 332.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.3382, allocations: 10.69 kB / 332.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.3383, allocations: 8.109 kB / 332.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.3383, allocations: 2.188 kB / 332.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.424e-05/0.3384, allocations: 104.4 kB / 332.3 MB, free: 12.11 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3384, allocations: 0 / 332.3 MB, free: 12.11 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.3388, allocations: 8.594 kB / 332.3 MB, free: 12.11 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.0001213/0.3389, allocations: 100.9 kB / 332.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000243/0.3392, allocations: 71.11 kB / 332.5 MB, free: 11.99 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3392, allocations: 0 / 332.5 MB, free: 11.99 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3393, allocations: 36.92 kB / 332.5 MB, free: 11.98 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.3398, allocations: 8.688 kB / 332.5 MB, free: 11.98 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.3403, allocations: 231.2 kB / 332.7 MB, free: 11.76 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.3406, allocations: 0.6976 MB / 333.4 MB, free: 11.05 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.3407, allocations: 6.312 kB / 333.4 MB, free: 11.05 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.3407, allocations: 9.688 kB / 333.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3407, allocations: 3.938 kB / 333.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of Templates: time 0.003041/0.3438, allocations: 437.1 kB / 333.9 MB, free: 10.82 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)