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.001426/0.001426, allocations: 92.7 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.001577/0.001577, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.465/1.465, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.06543/0.06543, allocations: 8.606 MB / 268.2 MB, free: 4.941 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.293e-06/1.293e-06, allocations: 0 / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.275e-05, allocations: 6.25 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.002723/0.002746, allocations: 2.348 MB / 342.5 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.004847, allocations: 1.594 MB / 344.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.005027, allocations: 23.75 kB / 344.1 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.00567, allocations: 222.9 kB / 344.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004067/0.006077, allocations: 218.8 kB / 344.5 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008059/0.006882, allocations: 454.7 kB / 345 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.007305, allocations: 0.5827 MB / 345.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.007439, allocations: 65.22 kB / 345.6 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.007681, allocations: 295.2 kB / 345.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.007914, allocations: 215.4 kB / 346.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.007966, allocations: 36 kB / 346.2 MB, free: 2.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.008173, allocations: 163.8 kB / 346.3 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.008289, allocations: 155.4 kB / 346.5 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.008406, allocations: 131.6 kB / 346.6 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.008911, allocations: 0.5956 MB / 347.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.008915, allocations: 3.938 kB / 347.2 MB, free: 1.645 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.008916, allocations: 0 / 347.2 MB, free: 1.645 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.008924, allocations: 0 / 347.2 MB, free: 1.645 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.001231/0.01016, allocations: 0.8516 MB / 348 MB, free: 0.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.01019, allocations: 8.031 kB / 348.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.01033, allocations: 96.52 kB / 348.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.01086, allocations: 418.2 kB / 348.6 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.01089, allocations: 29.38 kB / 348.6 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/0.01095, allocations: 48.25 kB / 348.6 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008588/0.01181, allocations: 0.4899 MB / 349.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.01184, allocations: 11.94 kB / 349.1 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.01189, allocations: 19.98 kB / 349.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.01191, allocations: 11.98 kB / 349.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006915/0.0126, allocations: 360 kB / 349.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.01549, allocations: 1.761 MB / 351.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.01604, allocations: 256.6 kB / 351.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.01634, allocations: 166.7 kB / 351.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.01638, allocations: 8.219 kB / 351.7 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/0.01689, allocations: 278.5 kB / 352 MB, free: 12.63 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/0.01689, allocations: 4 kB / 352 MB, free: 12.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.001268/0.01816, allocations: 0.6217 MB / 352.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.01824, allocations: 89.11 kB / 352.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/0.01895, allocations: 0.5253 MB / 353.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.019, allocations: 37.7 kB / 353.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.01927, allocations: 288.5 kB / 353.5 MB, free: 11.01 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.01941, allocations: 127 kB / 353.7 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.0196, allocations: 98.14 kB / 353.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.01984, allocations: 366.8 kB / 354.1 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.02017, allocations: 182.8 kB / 354.3 MB, free: 10.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.02071, allocations: 375.1 kB / 354.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.02292, allocations: 0.9491 MB / 355.6 MB, free: 8.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.02293, allocations: 4 kB / 355.6 MB, free: 8.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001258/0.02419, allocations: 0.7121 MB / 356.3 MB, free: 8.012 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.02424, allocations: 37.64 kB / 356.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.02425, allocations: 4 kB / 356.4 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.02428, allocations: 8 kB / 356.4 MB, free: 7.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.02476, allocations: 115.8 kB / 356.5 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.02477, allocations: 8 kB / 356.5 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.02506, allocations: 67.95 kB / 356.6 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.02511, allocations: 24 kB / 356.6 MB, free: 7.746 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.0004037/0.02551, allocations: 275.1 kB / 356.8 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/0.02575, allocations: 67.62 kB / 356.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.0268, allocations: 0.5337 MB / 357.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.02681, allocations: 4 kB / 357.4 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.02681, allocations: 0 / 357.4 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.02682, allocations: 0 / 357.4 MB, free: 6.836 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.02731, allocations: 352.9 kB / 357.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02732, allocations: 4 kB / 357.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.02775, allocations: 71.89 kB / 357.9 MB, free: 6.387 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.02775, allocations: 0 / 357.9 MB, free: 6.387 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.02779, allocations: 15.98 kB / 357.9 MB, free: 6.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.0278, allocations: 3.938 kB / 357.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.0278, allocations: 0 / 357.9 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.02913, allocations: 0.7533 MB / 358.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.02922, allocations: 51.59 kB / 358.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.0293, allocations: 16 kB / 358.7 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.02949, allocations: 23.92 kB / 358.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.02958, allocations: 23.95 kB / 358.8 MB, free: 5.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.02961, allocations: 12.11 kB / 358.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004668/0.03008, allocations: 370.8 kB / 359.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03008, allocations: 0 / 359.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000508/0.03059, allocations: 123.7 kB / 359.2 MB, free: 4.969 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.002081/0.03267, allocations: 490.3 kB / 359.7 MB, free: 4.672 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009931/0.03366, allocations: 0.5139 MB / 360.2 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.03367, allocations: 1.312 kB / 360.2 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004159/0.03408, allocations: 257.5 kB / 360.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.03458, allocations: 90.11 kB / 360.6 MB, free: 3.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.03659, allocations: 1.045 MB / 361.6 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.03695, allocations: 284.5 kB / 361.9 MB, free: 2.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002702/0.03722, allocations: 92.2 kB / 362 MB, free: 2.301 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.03735, allocations: 40.5 kB / 362 MB, free: 2.262 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.03735, allocations: 0 / 362 MB, free: 2.262 MB / 282.7 MB Notification: Performance of Templates: time 0.01219/0.04954, allocations: 5.127 MB / 367.2 MB, free: 13.18 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4455968050751835]