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.001513/0.001513, allocations: 112.3 kB / 16.92 MB, free: 6.145 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.001406/0.001406, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.588/1.588, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001641/0.001641, allocations: 43.92 kB / 280 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1271, allocations: 46.63 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003961/0.1311, allocations: 1.583 MB / 328.2 MB, free: 2.879 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.1321, allocations: 455.8 kB / 328.6 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.784e-05/0.1322, allocations: 4 kB / 328.6 MB, free: 2.422 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.564e-05/0.1323, allocations: 15.86 kB / 328.7 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.908e-05/0.1324, allocations: 11.86 kB / 328.7 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.1326, allocations: 19.98 kB / 328.7 MB, free: 2.375 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.1327, allocations: 63.72 kB / 328.7 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.133, allocations: 47.95 kB / 328.8 MB, free: 2.266 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1331, allocations: 35.8 kB / 328.8 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.1332, allocations: 31.84 kB / 328.9 MB, free: 2.199 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1332, allocations: 7.938 kB / 328.9 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.1333, allocations: 8 kB / 328.9 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.1333, allocations: 15.94 kB / 328.9 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.1333, allocations: 23.86 kB / 328.9 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.1335, allocations: 75.94 kB / 329 MB, free: 2.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1335, allocations: 0 / 329 MB, free: 2.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1335, allocations: 0 / 329 MB, free: 2.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1335, allocations: 0 / 329 MB, free: 2.07 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.0006454/0.1342, allocations: 371.3 kB / 329.4 MB, free: 1.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.1342, allocations: 12.03 kB / 329.4 MB, free: 1.648 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.1343, allocations: 8.844 kB / 329.4 MB, free: 1.641 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1345, allocations: 180.2 kB / 329.6 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.1345, allocations: 8.375 kB / 329.6 MB, free: 1.418 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1346, allocations: 4.375 kB / 329.6 MB, free: 1.414 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.1349, allocations: 114.2 kB / 329.7 MB, free: 1.281 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1349, allocations: 4 kB / 329.7 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.1349, allocations: 4 kB / 329.7 MB, free: 1.273 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.135, allocations: 4 kB / 329.7 MB, free: 1.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.1352, allocations: 51.89 kB / 329.7 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009339/0.1361, allocations: 0.6496 MB / 330.4 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1363, allocations: 117.6 kB / 330.5 MB, free: 352 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1365, allocations: 48.47 kB / 330.5 MB, free: 288 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1365, allocations: 11.92 kB / 330.6 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.1366, allocations: 38.56 kB / 330.6 MB, free: 228 kB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1366, allocations: 0 / 330.6 MB, free: 228 kB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005191/0.1371, allocations: 114.1 kB / 330.7 MB, free: 108 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.1372, allocations: 166.2 kB / 330.9 MB, free: 15.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.1374, allocations: 125.7 kB / 331 MB, free: 15.77 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1374, allocations: 29.7 kB / 331 MB, free: 15.74 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1376, allocations: 96.02 kB / 331.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.1377, allocations: 19.72 kB / 331.1 MB, free: 15.62 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.1377, allocations: 21.7 kB / 331.2 MB, free: 15.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1379, allocations: 314.8 kB / 331.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.138, allocations: 27.97 kB / 331.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1381, allocations: 48.28 kB / 331.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.1383, allocations: 80.2 kB / 331.6 MB, free: 15.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1383, allocations: 0 / 331.6 MB, free: 15.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002866/0.1386, allocations: 105.6 kB / 331.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1386, allocations: 4 kB / 331.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1387, allocations: 7.984 kB / 331.7 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.1387, allocations: 0 / 331.7 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1388, allocations: 11.98 kB / 331.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.1388, allocations: 7.938 kB / 331.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.1389, allocations: 11.92 kB / 331.8 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1389, allocations: 4 kB / 331.8 MB, free: 14.94 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.0001339/0.1391, allocations: 121.8 kB / 331.9 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.1392, allocations: 11.91 kB / 331.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.1393, allocations: 15.59 kB / 331.9 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1393, allocations: 4 kB / 331.9 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.1393, allocations: 4 kB / 331.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.1393, allocations: 7.938 kB / 331.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.1398, allocations: 181.6 kB / 332.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1398, allocations: 4 kB / 332.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.1399, allocations: 11.98 kB / 332.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1399, allocations: 0 / 332.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.14, allocations: 8 kB / 332.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.14, allocations: 4 kB / 332.1 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.14, allocations: 7.938 kB / 332.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.1404, allocations: 492.6 kB / 332.6 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.1405, allocations: 85.02 kB / 332.7 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.1405, allocations: 0 / 332.7 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.1408, allocations: 7.984 kB / 332.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.1409, allocations: 19.86 kB / 332.7 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1409, allocations: 4 kB / 332.7 MB, free: 13.87 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.163e-05/0.141, allocations: 91.22 kB / 332.8 MB, free: 13.78 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.141, allocations: 0 / 332.8 MB, free: 13.78 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004048/0.1414, allocations: 16 kB / 332.8 MB, free: 13.77 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.0001207/0.1415, allocations: 103.2 kB / 332.9 MB, free: 13.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.1418, allocations: 55.91 kB / 333 MB, free: 13.6 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1418, allocations: 0 / 333 MB, free: 13.6 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1419, allocations: 40.34 kB / 333 MB, free: 13.56 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.1424, allocations: 8 kB / 333 MB, free: 13.55 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005132/0.1429, allocations: 198.8 kB / 333.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1433, allocations: 0.6924 MB / 333.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.1433, allocations: 0 / 333.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.1433, allocations: 11.44 kB / 333.9 MB, free: 12.59 MB / 286.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1434, allocations: 3.938 kB / 333.9 MB, free: 12.59 MB / 286.1 MB Notification: Performance of Templates: time 0.003057/0.1464, allocations: 0.5562 MB / 334.5 MB, free: 12.03 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)