Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001212/0.001212, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001348/0.001347, allocations: 182 kB / 17.56 MB, free: 6.203 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.845/1.845, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.0005039/0.0005038, allocations: 8.516 kB / 280.7 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 47.58 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002128/0.1223, allocations: 1.306 MB / 329.6 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.123, allocations: 451.9 kB / 330.1 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.1231, allocations: 4 kB / 330.1 MB, free: 2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.1231, allocations: 7.938 kB / 330.1 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.328e-05/0.1232, allocations: 11.86 kB / 330.1 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.1234, allocations: 19.97 kB / 330.1 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.656e-05/0.1235, allocations: 51.8 kB / 330.1 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.1236, allocations: 39.97 kB / 330.2 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.1237, allocations: 35.78 kB / 330.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.1238, allocations: 23.86 kB / 330.2 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.1238, allocations: 4 kB / 330.2 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.1239, allocations: 0 / 330.2 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.1239, allocations: 7.922 kB / 330.3 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.124, allocations: 45.58 kB / 330.3 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 9.91e-05/0.1241, allocations: 59.84 kB / 330.4 MB, free: 1.691 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1241, allocations: 0 / 330.4 MB, free: 1.691 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1241, allocations: 0 / 330.4 MB, free: 1.691 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1241, allocations: 3.938 kB / 330.4 MB, free: 1.688 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.0005053/0.1246, allocations: 375.3 kB / 330.7 MB, free: 1.273 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1247, allocations: 8.031 kB / 330.7 MB, free: 1.266 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.1247, allocations: 12.84 kB / 330.7 MB, free: 1.254 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1249, allocations: 188.1 kB / 330.9 MB, free: 1.031 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1249, allocations: 4.375 kB / 330.9 MB, free: 1.027 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1249, allocations: 4.375 kB / 330.9 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.1251, allocations: 122.3 kB / 331.1 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1252, allocations: 0 / 331.1 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1252, allocations: 4 kB / 331.1 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1252, allocations: 4 kB / 331.1 MB, free: 0.875 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.1254, allocations: 71.83 kB / 331.1 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.1261, allocations: 0.6342 MB / 331.8 MB, free: 108 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1263, allocations: 129.1 kB / 331.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.1264, allocations: 56.22 kB / 332 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1264, allocations: 4 kB / 332 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1265, allocations: 38.56 kB / 332 MB, free: 15.81 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1265, allocations: 0 / 332 MB, free: 15.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.000461/0.1269, allocations: 137.5 kB / 332.1 MB, free: 15.67 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.127, allocations: 162.7 kB / 332.3 MB, free: 15.48 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/0.1271, allocations: 125.7 kB / 332.4 MB, free: 15.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1271, allocations: 29.7 kB / 332.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.1272, allocations: 104 kB / 332.5 MB, free: 15.2 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.1272, allocations: 15.81 kB / 332.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.1273, allocations: 13.72 kB / 332.6 MB, free: 15.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1274, allocations: 318.8 kB / 332.9 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.1275, allocations: 23.98 kB / 332.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-05/0.1276, allocations: 60.27 kB / 333 MB, free: 14.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1278, allocations: 96.14 kB / 333.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1278, allocations: 0 / 333.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002271/0.128, allocations: 109.4 kB / 333.2 MB, free: 14.53 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1281, allocations: 4 kB / 333.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1281, allocations: 4 kB / 333.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1281, allocations: 0 / 333.2 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.1282, allocations: 20.14 kB / 333.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1282, allocations: 3.938 kB / 333.2 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.717e-05/0.1283, allocations: 19.88 kB / 333.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1283, allocations: 4 kB / 333.2 MB, free: 14.47 MB / 286.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.0001086/0.1284, allocations: 117.8 kB / 333.3 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.629e-05/0.1285, allocations: 7.906 kB / 333.3 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.1285, allocations: 15.48 kB / 333.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.1286, allocations: 0 / 333.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1286, allocations: 8 kB / 333.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.1286, allocations: 11.86 kB / 333.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.1289, allocations: 181.6 kB / 333.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.129, allocations: 0 / 333.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.918e-05/0.129, allocations: 15.98 kB / 333.6 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.129, allocations: 0 / 333.6 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1291, allocations: 4 kB / 333.6 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1291, allocations: 8.062 kB / 333.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1291, allocations: 0 / 333.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.1295, allocations: 0.4966 MB / 334.1 MB, free: 13.54 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.1296, allocations: 85.09 kB / 334.2 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.1296, allocations: 4 kB / 334.2 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.1298, allocations: 8 kB / 334.2 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.1299, allocations: 15.86 kB / 334.2 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1299, allocations: 4 kB / 334.2 MB, free: 13.4 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.458e-05/0.1299, allocations: 95.27 kB / 334.3 MB, free: 13.31 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1299, allocations: 0 / 334.3 MB, free: 13.31 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003759/0.1303, allocations: 15.91 kB / 334.3 MB, free: 13.29 MB / 286.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.0001236/0.1305, allocations: 99.19 kB / 334.4 MB, free: 13.19 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.1307, allocations: 76.02 kB / 334.5 MB, free: 13.11 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1307, allocations: 0 / 334.5 MB, free: 13.11 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1308, allocations: 39.92 kB / 334.5 MB, free: 13.07 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.1314, allocations: 4 kB / 334.5 MB, free: 13.07 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.1319, allocations: 230.4 kB / 334.7 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.1324, allocations: 0.6926 MB / 335.4 MB, free: 12.09 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.109e-05/0.1324, allocations: 7.984 kB / 335.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.1325, allocations: 7.438 kB / 335.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1325, allocations: 0 / 335.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of Templates: time 0.00325/0.1357, allocations: 460.7 kB / 335.9 MB, free: 11.62 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe 2>&1)