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.0008737/0.0008738, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009478/0.0009479, allocations: 168.7 kB / 15.95 MB, free: 204 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.376/1.376, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.0004175/0.0004176, allocations: 16 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2199, allocations: 47.59 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001435/0.2213, allocations: 1.291 MB / 327.8 MB, free: 368 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.2219, allocations: 434.6 kB / 328.2 MB, free: 24 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.01e-05/0.2219, allocations: 1.312 kB / 328.2 MB, free: 24 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.222, allocations: 9.266 kB / 328.2 MB, free: 16 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.2221, allocations: 13.22 kB / 328.2 MB, free: 4 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.2222, allocations: 19.66 kB / 328.2 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.2223, allocations: 52.23 kB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.2225, allocations: 37.58 kB / 328.3 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.2225, allocations: 27.61 kB / 328.3 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.2226, allocations: 22.12 kB / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2226, allocations: 1.031 kB / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-06/0.2226, allocations: 2.094 kB / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.2227, allocations: 6.344 kB / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.2227, allocations: 44.72 kB / 328.4 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 6.064e-05/0.2228, allocations: 32.83 kB / 328.4 MB, free: 15.83 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2228, allocations: 1.25 kB / 328.4 MB, free: 15.83 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2228, allocations: 0 / 328.4 MB, free: 15.83 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.2228, allocations: 0 / 328.4 MB, free: 15.83 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.0003892/0.2232, allocations: 374.5 kB / 328.8 MB, free: 15.44 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.2232, allocations: 9.344 kB / 328.8 MB, free: 15.44 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.2233, allocations: 12.06 kB / 328.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2234, allocations: 186.6 kB / 329 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2234, allocations: 6.891 kB / 329 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.2234, allocations: 3.625 kB / 329 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.2236, allocations: 115 kB / 329.1 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2236, allocations: 0 / 329.1 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2237, allocations: 5.562 kB / 329.1 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2237, allocations: 1.375 kB / 329.1 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.2238, allocations: 68.27 kB / 329.2 MB, free: 15.08 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.2244, allocations: 0.6446 MB / 329.9 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2246, allocations: 121.5 kB / 330 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.2247, allocations: 60.19 kB / 330 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.2247, allocations: 1.125 kB / 330 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.2247, allocations: 40.69 kB / 330.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.2247, allocations: 0.9688 kB / 330.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004348/0.2252, allocations: 135.7 kB / 330.2 MB, free: 14.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.2253, allocations: 159.3 kB / 330.4 MB, free: 13.9 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.2254, allocations: 124.2 kB / 330.5 MB, free: 13.78 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2254, allocations: 29.7 kB / 330.5 MB, free: 13.75 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.2254, allocations: 91.16 kB / 330.6 MB, free: 13.66 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.2255, allocations: 23.16 kB / 330.6 MB, free: 13.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.2255, allocations: 4 kB / 330.6 MB, free: 13.63 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2256, allocations: 317 kB / 330.9 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.2257, allocations: 24.3 kB / 331 MB, free: 13.31 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.2258, allocations: 59.81 kB / 331 MB, free: 13.25 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.336e-05/0.2259, allocations: 30.36 kB / 331.1 MB, free: 13.24 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2259, allocations: 3.938 kB / 331.1 MB, free: 13.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002053/0.2261, allocations: 102.8 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2261, allocations: 5.562 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.2261, allocations: 1.094 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.2261, allocations: 1.625 kB / 331.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.2262, allocations: 22.55 kB / 331.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2263, allocations: 2.938 kB / 331.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.53e-05/0.2263, allocations: 19.22 kB / 331.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.2263, allocations: 2.969 kB / 331.2 MB, free: 13.16 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 7.244e-05/0.2264, allocations: 114.2 kB / 331.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.2265, allocations: 11.53 kB / 331.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.2265, allocations: 17.64 kB / 331.4 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2266, allocations: 2.406 kB / 331.4 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2266, allocations: 1.219 kB / 331.4 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2266, allocations: 5.141 kB / 331.4 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.2269, allocations: 189 kB / 331.5 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2269, allocations: 5.219 kB / 331.6 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.227, allocations: 19.23 kB / 331.6 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.227, allocations: 2.25 kB / 331.6 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.227, allocations: 1.25 kB / 331.6 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.227, allocations: 1.281 kB / 331.6 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.227, allocations: 5.438 kB / 331.6 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.2274, allocations: 0.495 MB / 332.1 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.2274, allocations: 88.86 kB / 332.2 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.2274, allocations: 9.344 kB / 332.2 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.2276, allocations: 10.83 kB / 332.2 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.2277, allocations: 8.141 kB / 332.2 MB, free: 12.19 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.2277, allocations: 6.531 kB / 332.2 MB, free: 12.19 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.407e-05/0.2277, allocations: 95.34 kB / 332.3 MB, free: 12.1 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2278, allocations: 0 / 332.3 MB, free: 12.1 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.2281, allocations: 14.03 kB / 332.3 MB, free: 12.1 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 8.157e-05/0.2282, allocations: 93.03 kB / 332.4 MB, free: 12.01 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.2284, allocations: 66.53 kB / 332.5 MB, free: 11.99 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2284, allocations: 0 / 332.5 MB, free: 11.99 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.2285, allocations: 45.19 kB / 332.5 MB, free: 11.97 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.229, allocations: 7.438 kB / 332.5 MB, free: 11.96 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.2294, allocations: 235.8 kB / 332.7 MB, free: 11.75 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.2297, allocations: 0.6942 MB / 333.4 MB, free: 11.04 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.224e-05/0.2297, allocations: 9.188 kB / 333.4 MB, free: 11.03 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.2298, allocations: 10.06 kB / 333.5 MB, free: 11.02 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2298, allocations: 0 / 333.5 MB, free: 11.02 MB / 270.1 MB Notification: Performance of Templates: time 0.002045/0.2318, allocations: 445.7 kB / 333.9 MB, free: 10.8 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)