Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.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.PlantWithIntervalMeasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure") translateModel(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001334/0.001334, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.282/1.282, 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.04344/0.04344, allocations: 8.117 MB / 278.7 MB, free: 3.949 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.00166/0.00166, allocations: 73.98 kB / 387.4 MB, free: 47.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0634/0.06507, allocations: 48.31 MB / 435.7 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure): time 0.002509/0.06761, allocations: 1.96 MB / 437.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.06844, allocations: 0.5736 MB / 438.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.06858, allocations: 4 kB / 438.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.479e-05/0.06868, allocations: 27.73 kB / 438.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.06883, allocations: 43.61 kB / 438.3 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.06901, allocations: 51.88 kB / 438.3 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.06919, allocations: 219.1 kB / 438.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.06938, allocations: 106 kB / 438.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.06953, allocations: 79.78 kB / 438.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.06965, allocations: 95.59 kB / 438.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.06969, allocations: 20 kB / 438.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.968e-05/0.06972, allocations: 20 kB / 438.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.06976, allocations: 43.91 kB / 438.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.06985, allocations: 107.5 kB / 439 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.07003, allocations: 223.2 kB / 439.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.07004, allocations: 0 / 439.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.07005, allocations: 0 / 439.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.07006, allocations: 0 / 439.2 MB, free: 4.871 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005931/0.07066, allocations: 487.4 kB / 439.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.0707, allocations: 8.031 kB / 439.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.07076, allocations: 16.75 kB / 439.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.468e-05/0.07086, allocations: 188.1 kB / 439.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.07088, allocations: 12.81 kB / 439.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.07093, allocations: 24.38 kB / 439.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.0712, allocations: 199.6 kB / 440.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.07123, allocations: 0 / 440.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.07125, allocations: 11.94 kB / 440.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.07126, allocations: 11.98 kB / 440.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.07144, allocations: 117.6 kB / 440.3 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/0.07236, allocations: 0.7251 MB / 441 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.0727, allocations: 263.1 kB / 441.3 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.07289, allocations: 108.8 kB / 441.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.07291, allocations: 4 kB / 441.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.07312, allocations: 127.1 kB / 441.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.973e-06/0.07313, allocations: 4 kB / 441.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008837/0.07402, allocations: 0.6405 MB / 442.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.07405, allocations: 63.39 kB / 442.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.07413, allocations: 129.7 kB / 442.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.07415, allocations: 33.7 kB / 442.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.0742, allocations: 132.2 kB / 442.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.07424, allocations: 78.84 kB / 442.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.07431, allocations: 65.36 kB / 442.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.901e-05/0.07436, allocations: 330.8 kB / 443 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.07445, allocations: 59.97 kB / 443 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.07457, allocations: 131.9 kB / 443.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.07479, allocations: 217 kB / 443.4 MB, free: 400 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0748, allocations: 3.938 kB / 443.4 MB, free: 396 kB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002891/0.07509, allocations: 255.6 kB / 443.6 MB, free: 136 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.07511, allocations: 4 kB / 443.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.07512, allocations: 4 kB / 443.6 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.07514, allocations: 4 kB / 443.6 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.07535, allocations: 60.16 kB / 443.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.07536, allocations: 4 kB / 443.7 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.07546, allocations: 15.98 kB / 443.7 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.07548, allocations: 15.94 kB / 443.7 MB, free: 28 kB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: intervalMeasure.w:DISCRETE(flow=false fixed = true ) "Sensed speed" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 (intervalMeasure.last_time,$PRE.intervalMeasure.last_time,$PRE.intervalMeasure.w,intervalMeasure.w,intervalMeasure.prev_phi,$PRE.intervalMeasure.prev_phi,intervalMeasure.next_phi,$PRE.intervalMeasure.next_phi,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001573/0.07565, allocations: 141.8 kB / 443.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.07568, allocations: 7.906 kB / 443.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.07573, allocations: 20.84 kB / 443.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.07574, allocations: 3.984 kB / 443.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.07575, allocations: 4 kB / 443.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.355e-05/0.0758, allocations: 88.92 kB / 444 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.07583, allocations: 7.938 kB / 444 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.07592, allocations: 11.98 kB / 444 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.07597, allocations: 15.84 kB / 444 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005104/0.07649, allocations: 316.6 kB / 444.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004842/0.07699, allocations: 462.3 kB / 444.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001212/0.07712, allocations: 80.48 kB / 444.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.437e-05/0.07718, allocations: 106.9 kB / 445 MB, free: 14.74 MB / 334.1 MB Notification: Performance of Backend: time 2.51e-07/0.07719, allocations: 0 / 445 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004599/0.07765, allocations: 200.7 kB / 445.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009234/0.07859, allocations: 0.9719 MB / 446.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of Templates: time 0.004142/0.08274, allocations: 1.728 MB / 447.8 MB, free: 11.82 MB / 334.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.makefile (rm -f ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.sim & ./ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.SpeedMeasurement.Examples.PlantWithIntervalMeasure.pipe 2>&1)