Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) 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(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001734/0.001734, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.289/1.289, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04329/0.04329, allocations: 8.113 MB / 278.7 MB, free: 3.957 MB / 222.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: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 71.27 kB / 387.4 MB, free: 47.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06147/0.06295, allocations: 48.3 MB / 435.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.002318/0.06529, allocations: 1.902 MB / 437.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002907/0.06561, allocations: 147.5 kB / 437.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.06569, allocations: 11.88 kB / 437.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.435e-05/0.06577, allocations: 23.78 kB / 437.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.06586, allocations: 39.62 kB / 437.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001447/0.06601, allocations: 35.95 kB / 437.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.06615, allocations: 171.2 kB / 438 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.06632, allocations: 97.69 kB / 438.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.06638, allocations: 67.78 kB / 438.1 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.06647, allocations: 71.69 kB / 438.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.0665, allocations: 16 kB / 438.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.658e-05/0.06653, allocations: 20 kB / 438.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.06656, allocations: 35.91 kB / 438.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.06663, allocations: 83.61 kB / 438.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.06678, allocations: 191.2 kB / 438.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.06679, allocations: 0 / 438.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0668, allocations: 0 / 438.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.06681, allocations: 4 kB / 438.6 MB, free: 5.676 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0004308/0.06725, allocations: 458.8 kB / 439 MB, free: 5.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.06729, allocations: 8.031 kB / 439 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.06733, allocations: 16.84 kB / 439 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.085e-05/0.06741, allocations: 180.2 kB / 439.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.06743, allocations: 12.38 kB / 439.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.06747, allocations: 20.38 kB / 439.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.06769, allocations: 162.1 kB / 439.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.06771, allocations: 4.188 kB / 439.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.06773, allocations: 7.938 kB / 439.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.06774, allocations: 4 kB / 439.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.06789, allocations: 103.9 kB / 439.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.06863, allocations: 0.6717 MB / 440.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.06897, allocations: 231.5 kB / 440.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.06914, allocations: 88.8 kB / 440.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.06916, allocations: 0 / 440.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.06918, allocations: 42.5 kB / 440.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.06918, allocations: 0 / 440.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006035/0.06979, allocations: 485.9 kB / 441 MB, free: 2.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.213e-05/0.06981, allocations: 55.41 kB / 441.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.06987, allocations: 117.8 kB / 441.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.06989, allocations: 33.7 kB / 441.2 MB, free: 2.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.06993, allocations: 124.3 kB / 441.3 MB, free: 2.605 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.06996, allocations: 67.47 kB / 441.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.07002, allocations: 37.72 kB / 441.4 MB, free: 2.496 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.533e-05/0.07006, allocations: 322.8 kB / 441.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.268e-05/0.07012, allocations: 47.98 kB / 441.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.0702, allocations: 93 kB / 441.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.07035, allocations: 153 kB / 442 MB, free: 1.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.07035, allocations: 0 / 442 MB, free: 1.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001986/0.07056, allocations: 173.5 kB / 442.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.07057, allocations: 8 kB / 442.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.07059, allocations: 7.984 kB / 442.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.0706, allocations: 4 kB / 442.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.07077, allocations: 44.14 kB / 442.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.07079, allocations: 7.938 kB / 442.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.07085, allocations: 7.938 kB / 442.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.07086, allocations: 8 kB / 442.3 MB, free: 1.586 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 5.942e-05/0.07093, allocations: 125.8 kB / 442.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.07096, allocations: 7.953 kB / 442.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/0.071, allocations: 16.83 kB / 442.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.07101, allocations: 3.984 kB / 442.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.07102, allocations: 0 / 442.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.07104, allocations: 100.9 kB / 442.5 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.07106, allocations: 3.938 kB / 442.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/0.07115, allocations: 8 kB / 442.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.07117, allocations: 11.92 kB / 442.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003285/0.07151, allocations: 232.8 kB / 442.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002486/0.07177, allocations: 375.5 kB / 443.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.452e-05/0.07184, allocations: 44.02 kB / 443.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.666e-05/0.07187, allocations: 99.64 kB / 443.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of Backend: time 3.9e-07/0.07188, allocations: 0 / 443.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.07224, allocations: 160.3 kB / 443.5 MB, free: 380 kB / 318.1 MB Notification: Performance of SimCode: time 0.0007969/0.07305, allocations: 0.9361 MB / 444.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of Templates: time 0.003307/0.07637, allocations: 1.14 MB / 445.5 MB, free: 14.25 MB / 334.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.sim & ./ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.Plant.pipe 2>&1)