Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.001378/0.001378, allocations: 80.92 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001663/0.001663, allocations: 163.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.474/1.474, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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.06244/0.06244, allocations: 8.612 MB / 267.8 MB, free: 8.562 MB / 254.1 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.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 395.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.885e-05, allocations: 2.281 kB / 395.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.004155/0.004184, allocations: 2.365 MB / 397.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.007353, allocations: 1.591 MB / 399.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.007613, allocations: 23.81 kB / 399.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008694/0.008483, allocations: 234.8 kB / 399.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005414/0.009024, allocations: 218.8 kB / 400 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.01019, allocations: 450.4 kB / 400.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007491/0.01094, allocations: 0.5818 MB / 401 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.01115, allocations: 65.09 kB / 401.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003993/0.01155, allocations: 295.2 kB / 401.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.0119, allocations: 211.3 kB / 401.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.051e-05/0.01197, allocations: 36 kB / 401.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.01227, allocations: 151.8 kB / 401.8 MB, free: 460 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.01246, allocations: 143.5 kB / 401.9 MB, free: 316 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.01264, allocations: 131.5 kB / 402 MB, free: 184 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008051/0.01345, allocations: 0.5685 MB / 402.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.01345, allocations: 7.922 kB / 402.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01346, allocations: 0 / 402.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.01346, allocations: 0 / 402.6 MB, free: 15.6 MB / 334.1 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.001617/0.01508, allocations: 0.828 MB / 403.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.01512, allocations: 12.03 kB / 403.4 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.01527, allocations: 64.52 kB / 403.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007132/0.01598, allocations: 382.2 kB / 403.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.0161, allocations: 84.61 kB / 404 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.01618, allocations: 40.33 kB / 404 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/0.017, allocations: 491.2 kB / 404.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.01702, allocations: 0 / 404.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.01706, allocations: 16 kB / 404.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.01707, allocations: 12 kB / 404.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.01768, allocations: 320 kB / 404.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/0.02026, allocations: 1.683 MB / 406.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005355/0.02079, allocations: 216.3 kB / 406.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.02104, allocations: 146.6 kB / 406.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.02108, allocations: 4 kB / 406.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/0.02152, allocations: 255.3 kB / 407.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.726e-06/0.02152, allocations: 0 / 407.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001171/0.02269, allocations: 0.5593 MB / 407.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.963e-05/0.02279, allocations: 85.09 kB / 407.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/0.0234, allocations: 0.4901 MB / 408.2 MB, free: 9.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.02344, allocations: 33.7 kB / 408.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.0237, allocations: 288.2 kB / 408.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.305e-05/0.02379, allocations: 99.14 kB / 408.7 MB, free: 9.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.02394, allocations: 98 kB / 408.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.02415, allocations: 362.8 kB / 409.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.02443, allocations: 154.5 kB / 409.3 MB, free: 8.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.02487, allocations: 321.3 kB / 409.6 MB, free: 8.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.02672, allocations: 0.8217 MB / 410.4 MB, free: 7.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.02673, allocations: 4 kB / 410.4 MB, free: 7.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001031/0.02776, allocations: 0.5898 MB / 411 MB, free: 6.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.02781, allocations: 42.28 kB / 411 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.02783, allocations: 8 kB / 411 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.02785, allocations: 8 kB / 411 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.02849, allocations: 103.8 kB / 411.1 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.02851, allocations: 11.94 kB / 411.2 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.02875, allocations: 43.72 kB / 411.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.02879, allocations: 20 kB / 411.2 MB, free: 6.465 MB / 334.1 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 (51): * Single equations (assignments): 50 * 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.0003887/0.02918, allocations: 254.6 kB / 411.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.02926, allocations: 47.66 kB / 411.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009129/0.03017, allocations: 498.1 kB / 412 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.03017, allocations: 0 / 412 MB, free: 5.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.03018, allocations: 4 kB / 412 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.03019, allocations: 0 / 412 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.03067, allocations: 340.9 kB / 412.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.03067, allocations: 4 kB / 412.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.03129, allocations: 63.95 kB / 412.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.0313, allocations: 7.938 kB / 412.4 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.03133, allocations: 11.98 kB / 412.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.03134, allocations: 0 / 412.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.03134, allocations: 0 / 412.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.03261, allocations: 0.6808 MB / 413.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.199e-05/0.03269, allocations: 43.67 kB / 413.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.03277, allocations: 11.98 kB / 413.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.03292, allocations: 15.98 kB / 413.2 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/0.03302, allocations: 23.91 kB / 413.2 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.03306, allocations: 15.98 kB / 413.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004697/0.03353, allocations: 338.9 kB / 413.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03353, allocations: 0 / 413.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005317/0.03406, allocations: 115.7 kB / 413.7 MB, free: 3.926 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,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 (25): * Single equations (assignments): 22 * 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.001806/0.03587, allocations: 0.4885 MB / 414.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00082/0.03669, allocations: 463.7 kB / 414.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.03669, allocations: 320 / 414.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.03704, allocations: 240.9 kB / 414.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.03751, allocations: 77.8 kB / 414.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.03915, allocations: 0.9002 MB / 415.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.03945, allocations: 263.7 kB / 416.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.03966, allocations: 83.22 kB / 416.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.03977, allocations: 36.48 kB / 416.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.03977, allocations: 0 / 416.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of Templates: time 0.01168/0.05145, allocations: 4.739 MB / 420.9 MB, free: 12.79 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.547819055616856] Failed to read output from testmodel.py, exit status != 0: 0.06169654428958893 0.076881452 0.06026895300000001 Calling exit ...