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.001015/0.001015, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001015/0.001015, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.222/1.222, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04278/0.04278, allocations: 8.114 MB / 278.7 MB, free: 3.945 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.001479/0.001479, allocations: 74.11 kB / 387.3 MB, free: 47.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06417/0.06566, allocations: 48.32 MB / 435.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.Plant): time 0.002333/0.06802, allocations: 1.883 MB / 437.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002913/0.06833, allocations: 151.4 kB / 437.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.06842, allocations: 0 / 437.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.756e-05/0.0685, allocations: 23.73 kB / 437.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.431e-05/0.06859, allocations: 43.62 kB / 437.8 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.06874, allocations: 39.95 kB / 437.8 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.06888, allocations: 175.2 kB / 438 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.06905, allocations: 89.7 kB / 438.1 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.06912, allocations: 67.78 kB / 438.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.06921, allocations: 71.69 kB / 438.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.06925, allocations: 16 kB / 438.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.681e-05/0.06928, allocations: 20 kB / 438.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.06931, allocations: 35.86 kB / 438.3 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.06938, allocations: 91.64 kB / 438.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.06953, allocations: 183.4 kB / 438.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.06954, allocations: 0 / 438.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.06955, allocations: 0 / 438.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.06956, allocations: 0 / 438.5 MB, free: 5.797 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.0004353/0.07, allocations: 455 kB / 439 MB, free: 5.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.07004, allocations: 12.03 kB / 439 MB, free: 5.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.07009, allocations: 20.75 kB / 439 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.353e-05/0.07017, allocations: 184.1 kB / 439.2 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.07019, allocations: 12.38 kB / 439.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.07023, allocations: 20.38 kB / 439.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.07045, allocations: 154.1 kB / 439.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.07047, allocations: 192 / 439.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.07049, allocations: 15.92 kB / 439.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.0705, allocations: 7.938 kB / 439.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.07065, allocations: 99.91 kB / 439.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.07141, allocations: 0.6754 MB / 440.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.07175, allocations: 227.4 kB / 440.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.07193, allocations: 92.81 kB / 440.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.07195, allocations: 0 / 440.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.07197, allocations: 38.56 kB / 440.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.07198, allocations: 0 / 440.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006171/0.0726, allocations: 481.9 kB / 441 MB, free: 3.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.341e-05/0.07262, allocations: 55.41 kB / 441 MB, free: 3.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/0.07269, allocations: 117.8 kB / 441.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.0727, allocations: 29.7 kB / 441.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.07274, allocations: 132.1 kB / 441.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.07278, allocations: 55.2 kB / 441.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.07283, allocations: 45.61 kB / 441.4 MB, free: 2.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.904e-05/0.07287, allocations: 326.8 kB / 441.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.07294, allocations: 43.98 kB / 441.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.07302, allocations: 93 kB / 441.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.07316, allocations: 140.7 kB / 442 MB, free: 1.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.07317, allocations: 0 / 442 MB, free: 1.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002037/0.07338, allocations: 185.4 kB / 442.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.0734, allocations: 4 kB / 442.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.07341, allocations: 7.938 kB / 442.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.07343, allocations: 0 / 442.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.0736, allocations: 47.97 kB / 442.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.07361, allocations: 0 / 442.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.028e-05/0.07368, allocations: 11.94 kB / 442.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.0737, allocations: 7.938 kB / 442.3 MB, free: 1.719 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 6.138e-05/0.07376, allocations: 133.9 kB / 442.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.0738, allocations: 7.906 kB / 442.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.07384, allocations: 20.78 kB / 442.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.07385, allocations: 3.984 kB / 442.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.07386, allocations: 3.984 kB / 442.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.07388, allocations: 92.89 kB / 442.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.07391, allocations: 4 kB / 442.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.07399, allocations: 4 kB / 442.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.07401, allocations: 11.92 kB / 442.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003257/0.07434, allocations: 228.9 kB / 442.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002489/0.0746, allocations: 369.8 kB / 443.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.284e-05/0.07467, allocations: 55.95 kB / 443.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.07471, allocations: 91.66 kB / 443.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of Backend: time 5.11e-07/0.07471, allocations: 0 / 443.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.07509, allocations: 168.3 kB / 443.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007892/0.07588, allocations: 0.9327 MB / 444.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of Templates: time 0.003365/0.07926, allocations: 1.14 MB / 445.5 MB, free: 14.38 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)