Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 173.3 kB / 22.77 MB, free: 1.641 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.07168/0.07168, allocations: 8.62 MB / 268.2 MB, free: 4.949 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.512e-05, allocations: 12.58 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.002945/0.00297, allocations: 2.385 MB / 342.5 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.005196, allocations: 1.633 MB / 344.2 MB, free: 4.695 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.005369, allocations: 23.75 kB / 344.2 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.006084, allocations: 222.9 kB / 344.4 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.006496, allocations: 222.8 kB / 344.6 MB, free: 4.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007616/0.007258, allocations: 446.7 kB / 345.1 MB, free: 3.797 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.00771, allocations: 0.5943 MB / 345.7 MB, free: 3.203 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.007842, allocations: 61.23 kB / 345.7 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.008104, allocations: 295.2 kB / 346 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.008344, allocations: 223.4 kB / 346.2 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.47e-05/0.008419, allocations: 32 kB / 346.2 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.00864, allocations: 147.8 kB / 346.4 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.008761, allocations: 155.4 kB / 346.5 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.008881, allocations: 127.6 kB / 346.7 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.009403, allocations: 0.6073 MB / 347.3 MB, free: 1.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.009407, allocations: 0 / 347.3 MB, free: 1.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009408, allocations: 4 kB / 347.3 MB, free: 1.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.009415, allocations: 0 / 347.3 MB, free: 1.566 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001145/0.01056, allocations: 0.9785 MB / 348.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.01059, allocations: 12.03 kB / 348.3 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.01072, allocations: 100.5 kB / 348.4 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.01127, allocations: 409 kB / 348.8 MB, free: 0 / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/0.01134, allocations: 29.42 kB / 348.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.01142, allocations: 40.33 kB / 348.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/0.01219, allocations: 451.1 kB / 349.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.01222, allocations: 15.91 kB / 349.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.01227, allocations: 12 kB / 349.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.01229, allocations: 8 kB / 349.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.01285, allocations: 256.1 kB / 349.6 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003171/0.01602, allocations: 2.173 MB / 351.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.01648, allocations: 209.9 kB / 351.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.01671, allocations: 113.6 kB / 352.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.01675, allocations: 8.234 kB / 352.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.01717, allocations: 231.4 kB / 352.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.01717, allocations: 0 / 352.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001063/0.01823, allocations: 0.4942 MB / 352.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.01831, allocations: 89.11 kB / 352.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/0.01907, allocations: 0.6041 MB / 353.5 MB, free: 11.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.0191, allocations: 29.7 kB / 353.5 MB, free: 11.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/0.01956, allocations: 363.2 kB / 353.9 MB, free: 10.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.0197, allocations: 135 kB / 354 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.0199, allocations: 127.8 kB / 354.1 MB, free: 10.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003638/0.02026, allocations: 0.5704 MB / 354.7 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.02051, allocations: 122.8 kB / 354.8 MB, free: 9.676 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.021, allocations: 388.2 kB / 355.2 MB, free: 9.191 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009769/0.02198, allocations: 0.6255 MB / 355.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02198, allocations: 0 / 355.8 MB, free: 8.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009943/0.02298, allocations: 0.5483 MB / 356.4 MB, free: 7.887 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/0.02303, allocations: 47.81 kB / 356.4 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.02305, allocations: 8.656 kB / 356.4 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.02307, allocations: 15.94 kB / 356.4 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.02356, allocations: 111.8 kB / 356.5 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.02358, allocations: 7.938 kB / 356.5 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.02383, allocations: 63.61 kB / 356.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.02388, allocations: 24 kB / 356.6 MB, free: 7.609 MB / 282.7 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,R.TS_in,R_track.satLOW_in,R_track.satHIGH_in,R_track.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0003691/0.02425, allocations: 278 kB / 356.9 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.02436, allocations: 67.62 kB / 357 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008992/0.02526, allocations: 438.5 kB / 357.4 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.02527, allocations: 4 kB / 357.4 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.02527, allocations: 4 kB / 357.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.02528, allocations: 3.984 kB / 357.4 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.02581, allocations: 400.3 kB / 357.8 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.02582, allocations: 0 / 357.8 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.02625, allocations: 63.95 kB / 357.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.02625, allocations: 4 kB / 357.9 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.0263, allocations: 15.98 kB / 357.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.02631, allocations: 11.88 kB / 357.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02631, allocations: 0 / 357.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.02742, allocations: 0.6083 MB / 358.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.02752, allocations: 55.55 kB / 358.6 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/0.0276, allocations: 15.94 kB / 358.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.02777, allocations: 19.92 kB / 358.6 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.104e-05/0.02786, allocations: 27.95 kB / 358.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.02789, allocations: 11.98 kB / 358.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004508/0.02834, allocations: 366.8 kB / 359 MB, free: 5.137 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02834, allocations: 0 / 359 MB, free: 5.137 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004609/0.0288, allocations: 123.8 kB / 359.1 MB, free: 5.016 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.003078/0.03188, allocations: 0.4883 MB / 359.6 MB, free: 4.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008167/0.0327, allocations: 456.2 kB / 360 MB, free: 4.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0327, allocations: 384 / 360 MB, free: 4.234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.03308, allocations: 244.6 kB / 360.3 MB, free: 3.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.03354, allocations: 77.91 kB / 360.4 MB, free: 3.895 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.03528, allocations: 0.9485 MB / 361.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.03559, allocations: 272.5 kB / 361.6 MB, free: 2.613 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002303/0.03582, allocations: 84.14 kB / 361.7 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.03594, allocations: 40.5 kB / 361.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03594, allocations: 0 / 361.7 MB, free: 2.488 MB / 282.7 MB Notification: Performance of Templates: time 0.01218/0.04812, allocations: 5.126 MB / 366.8 MB, free: 13.41 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.674089162028395]