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.007251/0.00725, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.00135/0.00135, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.61/1.61, allocations: 205.1 MB / 222.6 MB, free: 4.391 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.001944/0.001944, allocations: 58.03 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1413, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.004204/0.1455, allocations: 1.569 MB / 374.7 MB, free: 15.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1467, allocations: 475.4 kB / 375.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.667e-05/0.1468, allocations: 4 kB / 375.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.537e-05/0.1469, allocations: 7.875 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.147, allocations: 11.88 kB / 375.2 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.1473, allocations: 19.97 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1474, allocations: 55.84 kB / 375.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.1477, allocations: 63.77 kB / 375.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1478, allocations: 27.92 kB / 375.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.148, allocations: 35.78 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.148, allocations: 4 kB / 375.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.751e-05/0.148, allocations: 8 kB / 375.4 MB, free: 15.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.1481, allocations: 7.938 kB / 375.4 MB, free: 15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.69e-05/0.1481, allocations: 39.78 kB / 375.5 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.1483, allocations: 55.8 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1483, allocations: 3.938 kB / 375.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1483, allocations: 4 kB / 375.5 MB, free: 14.9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1484, allocations: 0 / 375.5 MB, free: 14.9 MB / 318.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.0007189/0.1491, allocations: 379.3 kB / 375.9 MB, free: 14.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1491, allocations: 12.02 kB / 375.9 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.1492, allocations: 8.844 kB / 375.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1494, allocations: 180.2 kB / 376.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.1494, allocations: 8.375 kB / 376.1 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1495, allocations: 4.375 kB / 376.1 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.1498, allocations: 118.2 kB / 376.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1498, allocations: 0 / 376.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1499, allocations: 0 / 376.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.1499, allocations: 4 kB / 376.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000249/0.1501, allocations: 55.89 kB / 376.3 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008793/0.151, allocations: 0.638 MB / 376.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.1513, allocations: 120.9 kB / 377 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.1515, allocations: 60.39 kB / 377.1 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1515, allocations: 0 / 377.1 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.1516, allocations: 38.5 kB / 377.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1516, allocations: 0 / 377.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006844/0.1523, allocations: 125.6 kB / 377.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.1524, allocations: 158.2 kB / 377.4 MB, free: 12.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1526, allocations: 129.6 kB / 377.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1526, allocations: 25.7 kB / 377.6 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.1527, allocations: 96.05 kB / 377.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.1527, allocations: 16.19 kB / 377.7 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.1528, allocations: 29.64 kB / 377.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.153, allocations: 322.8 kB / 378 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1531, allocations: 19.98 kB / 378 MB, free: 12.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1532, allocations: 44.28 kB / 378.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.1535, allocations: 84.2 kB / 378.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1535, allocations: 0 / 378.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003084/0.1538, allocations: 101.4 kB / 378.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1538, allocations: 4 kB / 378.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1539, allocations: 128 / 378.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1539, allocations: 7.938 kB / 378.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.154, allocations: 19.92 kB / 378.3 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.154, allocations: 0 / 378.3 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1542, allocations: 19.92 kB / 378.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1542, allocations: 4.156 kB / 378.3 MB, free: 11.76 MB / 318.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 0.0001227/0.1543, allocations: 121.8 kB / 378.4 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.1545, allocations: 7.906 kB / 378.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.1545, allocations: 15.45 kB / 378.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1545, allocations: 4 kB / 378.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1545, allocations: 0 / 378.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.1546, allocations: 3.938 kB / 378.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006444/0.1552, allocations: 185.6 kB / 378.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1552, allocations: 0 / 378.7 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1553, allocations: 19.98 kB / 378.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1554, allocations: 0 / 378.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.1554, allocations: 4 kB / 378.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1554, allocations: 0 / 378.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1554, allocations: 0 / 378.7 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/0.156, allocations: 0.4887 MB / 379.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.1561, allocations: 77.11 kB / 379.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.1562, allocations: 8 kB / 379.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.1566, allocations: 7.984 kB / 379.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.1566, allocations: 11.92 kB / 379.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.1567, allocations: 4 kB / 379.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.609e-05/0.1567, allocations: 95.28 kB / 379.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1568, allocations: 0 / 379.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007131/0.1575, allocations: 15.84 kB / 379.4 MB, free: 10.6 MB / 318.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.0001321/0.1576, allocations: 103.2 kB / 379.5 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003272/0.158, allocations: 56.16 kB / 379.5 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.158, allocations: 8.062 kB / 379.5 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.1582, allocations: 31.91 kB / 379.6 MB, free: 10.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009243/0.1591, allocations: 4 kB / 379.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.1597, allocations: 214.8 kB / 379.8 MB, free: 10.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1601, allocations: 0.6885 MB / 380.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.061e-05/0.1602, allocations: 4 kB / 380.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.1602, allocations: 15.38 kB / 380.5 MB, free: 9.414 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1602, allocations: 0 / 380.5 MB, free: 9.414 MB / 318.1 MB Notification: Performance of Templates: time 0.004456/0.1647, allocations: 0.5556 MB / 381.1 MB, free: 8.859 MB / 318.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)