Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.0009929/0.0009929, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.000979/0.000979, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9761/0.9761, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.04375/0.04375, allocations: 8.605 MB / 268.9 MB, free: 5.008 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.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 340.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.894e-05, allocations: 2.312 kB / 340.9 MB, free: 9.809 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.003446/0.003475, allocations: 2.44 MB / 343.3 MB, free: 7.344 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.00528, allocations: 1.55 MB / 344.9 MB, free: 5.789 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.00547, allocations: 23.75 kB / 344.9 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006241/0.006094, allocations: 226.8 kB / 345.1 MB, free: 5.543 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.006429, allocations: 222.8 kB / 345.3 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.007042, allocations: 402.9 kB / 345.7 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.007489, allocations: 0.5542 MB / 346.3 MB, free: 4.375 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.007636, allocations: 69.09 kB / 346.3 MB, free: 4.305 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.007867, allocations: 275.2 kB / 346.6 MB, free: 4.035 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.008063, allocations: 199.4 kB / 346.8 MB, free: 3.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.0081, allocations: 32 kB / 346.8 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.008273, allocations: 143.8 kB / 347 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.00838, allocations: 135.5 kB / 347.1 MB, free: 3.535 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.008481, allocations: 127.5 kB / 347.2 MB, free: 3.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.008883, allocations: 446.3 kB / 347.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.008886, allocations: 0 / 347.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.008887, allocations: 0 / 347.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.008893, allocations: 0 / 347.7 MB, free: 2.973 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.000902/0.009795, allocations: 0.9239 MB / 348.6 MB, free: 1.996 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.009829, allocations: 8.031 kB / 348.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.009935, allocations: 88.56 kB / 348.7 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.01034, allocations: 401.7 kB / 349.1 MB, free: 1.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.01037, allocations: 25.03 kB / 349.1 MB, free: 1.457 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.01041, allocations: 36.38 kB / 349.1 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.0108, allocations: 381.1 kB / 349.5 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.01081, allocations: 15.89 kB / 349.5 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.01084, allocations: 16 kB / 349.5 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.01085, allocations: 8 kB / 349.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.01106, allocations: 177.4 kB / 349.7 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.01235, allocations: 1.966 MB / 351.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.01264, allocations: 152.7 kB / 351.8 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.01273, allocations: 85.36 kB / 351.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.01275, allocations: 8.125 kB / 351.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.01296, allocations: 194 kB / 352.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.01296, allocations: 0 / 352.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0004601/0.01342, allocations: 388.9 kB / 352.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.01346, allocations: 89.11 kB / 352.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.0138, allocations: 498.5 kB / 353.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.01382, allocations: 33.7 kB / 353.1 MB, free: 13.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.01398, allocations: 331 kB / 353.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.01403, allocations: 99.2 kB / 353.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.401e-05/0.01412, allocations: 91.3 kB / 353.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.01426, allocations: 0.5391 MB / 354.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.01436, allocations: 82.16 kB / 354.2 MB, free: 12.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.01454, allocations: 324.2 kB / 354.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.01491, allocations: 484.2 kB / 355 MB, free: 11.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.01491, allocations: 4 kB / 355 MB, free: 11.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004155/0.01533, allocations: 444 kB / 355.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.01537, allocations: 45.69 kB / 355.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01538, allocations: 11.94 kB / 355.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.01539, allocations: 4.594 kB / 355.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.01557, allocations: 87.83 kB / 355.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.01558, allocations: 8 kB / 355.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01569, allocations: 47.72 kB / 355.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.01571, allocations: 23.94 kB / 355.7 MB, free: 10.35 MB / 330.7 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (50): * Single equations (assignments): 49 * 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.0001819/0.01589, allocations: 241.3 kB / 355.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.01594, allocations: 67.66 kB / 356 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.01632, allocations: 357.7 kB / 356.3 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01632, allocations: 0 / 356.3 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01632, allocations: 0 / 356.3 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01633, allocations: 3.984 kB / 356.3 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.01657, allocations: 324.3 kB / 356.7 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01657, allocations: 0 / 356.7 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.01672, allocations: 59.91 kB / 356.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01672, allocations: 0 / 356.7 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.01674, allocations: 11.98 kB / 356.7 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01675, allocations: 4 kB / 356.7 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01675, allocations: 0 / 356.7 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.01721, allocations: 493.1 kB / 357.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.01724, allocations: 39.66 kB / 357.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.01728, allocations: 12 kB / 357.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.01735, allocations: 11.98 kB / 357.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.01741, allocations: 27.95 kB / 357.3 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.01743, allocations: 12 kB / 357.3 MB, free: 8.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.01763, allocations: 310.8 kB / 357.6 MB, free: 8.309 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01763, allocations: 0 / 357.6 MB, free: 8.309 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.01789, allocations: 115.7 kB / 357.7 MB, free: 8.195 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],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 (26): * Single equations (assignments): 23 * 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.0008763/0.01876, allocations: 440.9 kB / 358.2 MB, free: 7.902 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.01913, allocations: 340.2 kB / 358.5 MB, free: 7.543 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01913, allocations: 0 / 358.5 MB, free: 7.543 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.01928, allocations: 201 kB / 358.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.01955, allocations: 94.19 kB / 358.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008415/0.02039, allocations: 0.7954 MB / 359.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.904e-05/0.02047, allocations: 137 kB / 359.7 MB, free: 6.254 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.02059, allocations: 67.22 kB / 359.8 MB, free: 6.184 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.02065, allocations: 36.48 kB / 359.8 MB, free: 6.148 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02065, allocations: 0 / 359.8 MB, free: 6.148 MB / 330.7 MB Notification: Performance of Templates: time 0.006981/0.02763, allocations: 4.684 MB / 364.5 MB, free: 1.508 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1333428628277034]