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.001114/0.001114, allocations: 110.3 kB / 17.06 MB, free: 6.125 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.001641/0.001641, allocations: 191 kB / 18 MB, free: 5.207 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.742/1.742, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001201/0.001201, allocations: 55.86 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003288/0.1342, allocations: 1.579 MB / 376.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009552/0.1352, allocations: 475.5 kB / 376.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.908e-05/0.1353, allocations: 0 / 376.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.338e-05/0.1353, allocations: 11.86 kB / 376.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.4e-05/0.1354, allocations: 11.88 kB / 376.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.1356, allocations: 15.97 kB / 376.6 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1357, allocations: 59.78 kB / 376.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.136, allocations: 43.91 kB / 376.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1361, allocations: 31.86 kB / 376.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.988e-05/0.1362, allocations: 31.84 kB / 376.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.1362, allocations: 8 kB / 376.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.1362, allocations: 4 kB / 376.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.1362, allocations: 8 kB / 376.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.1363, allocations: 31.8 kB / 376.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1365, allocations: 79.59 kB / 376.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1365, allocations: 0 / 376.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1365, allocations: 0 / 376.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1365, allocations: 0 / 376.8 MB, free: 2.188 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.0006274/0.1371, allocations: 375.3 kB / 377.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.1372, allocations: 11.97 kB / 377.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.1372, allocations: 8.844 kB / 377.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.1374, allocations: 176.2 kB / 377.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.1374, allocations: 12.38 kB / 377.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1375, allocations: 4.375 kB / 377.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.1378, allocations: 118.2 kB / 377.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1378, allocations: 0 / 377.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.1378, allocations: 4 kB / 377.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1378, allocations: 4 kB / 377.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.138, allocations: 59.88 kB / 377.6 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000779/0.1388, allocations: 0.6419 MB / 378.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.139, allocations: 120.9 kB / 378.4 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1392, allocations: 52.41 kB / 378.4 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1392, allocations: 4 kB / 378.4 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.1392, allocations: 50.48 kB / 378.5 MB, free: 332 kB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1393, allocations: 0 / 378.5 MB, free: 332 kB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004615/0.1397, allocations: 118 kB / 378.6 MB, free: 208 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.1398, allocations: 166.2 kB / 378.7 MB, free: 4 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3104/0.4502, allocations: 122.2 kB / 378.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.4503, allocations: 26.2 kB / 378.9 MB, free: 13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.4504, allocations: 100.2 kB / 379 MB, free: 12.92 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.4505, allocations: 13.33 kB / 379 MB, free: 12.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.467e-05/0.4505, allocations: 21 kB / 379 MB, free: 12.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.4506, allocations: 317.1 kB / 379.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.4507, allocations: 21.91 kB / 379.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.4509, allocations: 50.78 kB / 379.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.4511, allocations: 81.62 kB / 379.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4511, allocations: 0.7656 kB / 379.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000274/0.4513, allocations: 100.5 kB / 379.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4514, allocations: 5.219 kB / 379.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4514, allocations: 1.375 kB / 379.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.4514, allocations: 1.375 kB / 379.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.4516, allocations: 12.58 kB / 379.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4516, allocations: 6.172 kB / 379.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.436e-05/0.4517, allocations: 14.25 kB / 379.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4517, allocations: 3.25 kB / 379.6 MB, free: 12.48 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 9.175e-05/0.4518, allocations: 129.2 kB / 379.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.4519, allocations: 8.688 kB / 379.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.452, allocations: 18.95 kB / 379.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.452, allocations: 2.312 kB / 379.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.452, allocations: 3.312 kB / 379.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.452, allocations: 5.594 kB / 379.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.4524, allocations: 185.1 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4524, allocations: 1.375 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.4525, allocations: 12.45 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.4525, allocations: 1.375 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.4526, allocations: 6.688 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.4526, allocations: 5.922 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4526, allocations: 1.375 kB / 380 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.453, allocations: 490 kB / 380.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.453, allocations: 85.94 kB / 380.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.4531, allocations: 9.531 kB / 380.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.4533, allocations: 6.781 kB / 380.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.4534, allocations: 10.66 kB / 380.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.4534, allocations: 3.453 kB / 380.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.943e-05/0.4535, allocations: 95.8 kB / 380.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4535, allocations: 0 / 380.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003914/0.4539, allocations: 18.33 kB / 380.7 MB, free: 11.55 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.0001527/0.454, allocations: 99.16 kB / 380.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.4543, allocations: 58.09 kB / 380.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4543, allocations: 3.5 kB / 380.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.4544, allocations: 38.98 kB / 380.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.4549, allocations: 8.906 kB / 380.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.4555, allocations: 201.7 kB / 381.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.4557, allocations: 0.6936 MB / 381.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.636e-05/0.4557, allocations: 2.031 kB / 381.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.4557, allocations: 11.33 kB / 381.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4557, allocations: 0 / 381.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of Templates: time 0.003346/0.4591, allocations: 0.5561 MB / 382.4 MB, free: 10.55 MB / 318.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)