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.001174/0.001174, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 194.9 kB / 16.53 MB, free: 6.699 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.516/1.516, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.001385/0.001385, allocations: 59.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2432, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002784/0.246, allocations: 1.595 MB / 326.9 MB, free: 0.5898 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00065/0.2467, allocations: 466.5 kB / 327.3 MB, free: 232 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.2467, allocations: 5.062 kB / 327.4 MB, free: 228 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.044e-05/0.2468, allocations: 5.031 kB / 327.4 MB, free: 224 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.2469, allocations: 14.03 kB / 327.4 MB, free: 212 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.247, allocations: 22.06 kB / 327.4 MB, free: 192 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 9.115e-05/0.2471, allocations: 55.86 kB / 327.4 MB, free: 160 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.2473, allocations: 44.95 kB / 327.5 MB, free: 136 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.2474, allocations: 37.3 kB / 327.5 MB, free: 108 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.2475, allocations: 26.45 kB / 327.6 MB, free: 88 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.2475, allocations: 5.875 kB / 327.6 MB, free: 88 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.2476, allocations: 5.812 kB / 327.6 MB, free: 88 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.2476, allocations: 17.19 kB / 327.6 MB, free: 72 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.2476, allocations: 31.03 kB / 327.6 MB, free: 48 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.2478, allocations: 67 kB / 327.7 MB, free: 15.99 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2478, allocations: 0 / 327.7 MB, free: 15.99 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2478, allocations: 0 / 327.7 MB, free: 15.99 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.2478, allocations: 1.188 kB / 327.7 MB, free: 15.99 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.0005162/0.2483, allocations: 377.2 kB / 328 MB, free: 15.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.2484, allocations: 10.16 kB / 328.1 MB, free: 15.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.2484, allocations: 11.75 kB / 328.1 MB, free: 15.6 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2485, allocations: 180.5 kB / 328.2 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2486, allocations: 7.281 kB / 328.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.2486, allocations: 3.75 kB / 328.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.2488, allocations: 115.4 kB / 328.4 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2489, allocations: 1.188 kB / 328.4 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.2489, allocations: 13.06 kB / 328.4 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2489, allocations: 2.188 kB / 328.4 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.2491, allocations: 58.5 kB / 328.4 MB, free: 15.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.2498, allocations: 0.6302 MB / 329.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.2499, allocations: 117.3 kB / 329.2 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.2501, allocations: 56 kB / 329.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.2501, allocations: 2.156 kB / 329.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.2501, allocations: 37 kB / 329.3 MB, free: 14.34 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.2501, allocations: 0 / 329.3 MB, free: 14.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004548/0.2506, allocations: 126.2 kB / 329.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.2507, allocations: 160.4 kB / 329.6 MB, free: 14.07 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/0.2508, allocations: 123.2 kB / 329.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2508, allocations: 26.89 kB / 329.7 MB, free: 13.92 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.2509, allocations: 103.3 kB / 329.8 MB, free: 13.82 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.2509, allocations: 14.03 kB / 329.8 MB, free: 13.81 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.2509, allocations: 18.56 kB / 329.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2511, allocations: 321 kB / 330.2 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.2511, allocations: 23.95 kB / 330.2 MB, free: 13.46 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.835e-05/0.2512, allocations: 47 kB / 330.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.2514, allocations: 85.84 kB / 330.3 MB, free: 13.34 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2515, allocations: 128 / 330.3 MB, free: 13.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002201/0.2517, allocations: 105.1 kB / 330.4 MB, free: 13.27 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2517, allocations: 9.594 kB / 330.4 MB, free: 13.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2517, allocations: 1.281 kB / 330.4 MB, free: 13.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2517, allocations: 6.125 kB / 330.4 MB, free: 13.26 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2518, allocations: 16.98 kB / 330.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2519, allocations: 1.25 kB / 330.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.736e-05/0.2519, allocations: 8.594 kB / 330.5 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.252, allocations: 3.219 kB / 330.5 MB, free: 13.25 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.419e-05/0.2521, allocations: 114.7 kB / 330.6 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.352e-05/0.2522, allocations: 15.48 kB / 330.6 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.2522, allocations: 10.03 kB / 330.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2522, allocations: 2.375 kB / 330.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.2522, allocations: 1.188 kB / 330.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2522, allocations: 5.031 kB / 330.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.2526, allocations: 188.8 kB / 330.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2526, allocations: 2.375 kB / 330.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.966e-05/0.2527, allocations: 12.14 kB / 330.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2527, allocations: 2.188 kB / 330.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2527, allocations: 5.188 kB / 330.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2527, allocations: 10.06 kB / 330.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2527, allocations: 1.156 kB / 330.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.2531, allocations: 490 kB / 331.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.2531, allocations: 92.31 kB / 331.4 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.2532, allocations: 1.156 kB / 331.4 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.2534, allocations: 5.125 kB / 331.4 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.2534, allocations: 16.17 kB / 331.4 MB, free: 12.3 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.2535, allocations: 6.031 kB / 331.4 MB, free: 12.29 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.429e-05/0.2535, allocations: 96.58 kB / 331.5 MB, free: 12.21 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2535, allocations: 0 / 331.5 MB, free: 12.21 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003917/0.2539, allocations: 12.38 kB / 331.5 MB, free: 12.2 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.0001185/0.254, allocations: 93.5 kB / 331.6 MB, free: 12.12 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.2543, allocations: 67.27 kB / 331.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2543, allocations: 0 / 331.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.2544, allocations: 36.17 kB / 331.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.2549, allocations: 8.188 kB / 331.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.2554, allocations: 197.8 kB / 331.9 MB, free: 11.88 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2558, allocations: 0.6901 MB / 332.6 MB, free: 11.18 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.728e-05/0.2558, allocations: 9.922 kB / 332.6 MB, free: 11.17 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.2558, allocations: 9.719 kB / 332.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2558, allocations: 0 / 332.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of Templates: time 0.002937/0.2588, allocations: 0.557 MB / 333.2 MB, free: 10.87 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)