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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 249.9 MB, free: 3.227 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06241/0.06241, allocations: 11.34 MB / 316.4 MB, free: 444 kB / 238.1 MB [Timeout remaining time 90] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 441.1 MB, free: 6.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3147, allocations: 54.82 MB / 495.9 MB, free: 24.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003956/0.3187, allocations: 2.486 MB / 498.4 MB, free: 22.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.3213, allocations: 1.542 MB / 499.9 MB, free: 21.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.3215, allocations: 14.38 kB / 499.9 MB, free: 21.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007655/0.3223, allocations: 233.7 kB / 0.4884 GB, free: 21.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.3227, allocations: 154.6 kB / 0.4886 GB, free: 21.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3239, allocations: 453.2 kB / 0.489 GB, free: 21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000612/0.3245, allocations: 0.6059 MB / 0.4896 GB, free: 20.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3246, allocations: 62.84 kB / 0.4896 GB, free: 20.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.3249, allocations: 229.1 kB / 0.4899 GB, free: 20.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.3252, allocations: 256.3 kB / 0.4901 GB, free: 20.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.049e-05/0.3253, allocations: 36.72 kB / 0.4901 GB, free: 20.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.3255, allocations: 154.5 kB / 0.4903 GB, free: 20.22 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.3257, allocations: 139.6 kB / 0.4904 GB, free: 20.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.3258, allocations: 213.9 kB / 0.4906 GB, free: 19.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.3265, allocations: 0.5543 MB / 0.4912 GB, free: 19.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3265, allocations: 1.031 kB / 0.4912 GB, free: 19.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3265, allocations: 0 / 0.4912 GB, free: 19.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3265, allocations: 0 / 0.4912 GB, free: 19.57 MB / 366.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.001439/0.328, allocations: 0.9068 MB / 0.4921 GB, free: 18.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.328, allocations: 13.89 kB / 0.4921 GB, free: 18.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.3282, allocations: 60.94 kB / 0.4921 GB, free: 18.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006433/0.3288, allocations: 456.4 kB / 0.4926 GB, free: 18.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/0.3289, allocations: 80.72 kB / 0.4926 GB, free: 18.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/0.329, allocations: 42.83 kB / 0.4927 GB, free: 18.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007233/0.3297, allocations: 453.5 kB / 0.4931 GB, free: 17.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.3297, allocations: 2.188 kB / 0.4931 GB, free: 17.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.3298, allocations: 16.38 kB / 0.4931 GB, free: 17.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.3298, allocations: 12.78 kB / 0.4931 GB, free: 17.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000533/0.3303, allocations: 297.3 kB / 0.4934 GB, free: 17.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.3325, allocations: 1.844 MB / 0.4952 GB, free: 16.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.333, allocations: 179.7 kB / 0.4954 GB, free: 16.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.3332, allocations: 116.7 kB / 0.4955 GB, free: 16.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.3332, allocations: 3.094 kB / 0.4955 GB, free: 16.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.3336, allocations: 219 kB / 0.4957 GB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.844e-06/0.3336, allocations: 0 / 0.4957 GB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.000888/0.3345, allocations: 0.4965 MB / 0.4962 GB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.3345, allocations: 119.3 kB / 0.4963 GB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.3351, allocations: 0.512 MB / 0.4968 GB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3351, allocations: 36.5 kB / 0.4969 GB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.3353, allocations: 274.7 kB / 0.4971 GB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.241e-05/0.3353, allocations: 99.7 kB / 0.4972 GB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.3355, allocations: 89.14 kB / 0.4973 GB, free: 14.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.3355, allocations: 359.9 kB / 0.4976 GB, free: 14.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.3358, allocations: 124 kB / 0.4978 GB, free: 14.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.3361, allocations: 290.5 kB / 0.498 GB, free: 14.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.3376, allocations: 0.7837 MB / 0.4988 GB, free: 13.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3376, allocations: 5 kB / 0.4988 GB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000856/0.3384, allocations: 0.5559 MB / 0.4993 GB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.3385, allocations: 37.2 kB / 0.4994 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3385, allocations: 7.547 kB / 0.4994 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.3385, allocations: 7.906 kB / 0.4994 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.3391, allocations: 100.1 kB / 0.4995 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.3391, allocations: 14.8 kB / 0.4995 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.3394, allocations: 54.91 kB / 0.4996 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.3394, allocations: 20.5 kB / 0.4996 GB, free: 13.14 MB / 366.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.0002962/0.3397, allocations: 247.3 kB / 0.4998 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/0.3398, allocations: 50.95 kB / 0.4999 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007579/0.3405, allocations: 447.1 kB / 0.5003 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.3405, allocations: 2.781 kB / 0.5003 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3405, allocations: 0 / 0.5003 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3405, allocations: 9.25 kB / 0.5003 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.341, allocations: 447 kB / 0.5007 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.341, allocations: 0 / 0.5007 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/0.3415, allocations: 65.39 kB / 0.5008 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3415, allocations: 1.375 kB / 0.5008 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.3416, allocations: 9.5 kB / 0.5008 GB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3416, allocations: 5.375 kB / 0.5008 GB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3416, allocations: 0 / 0.5008 GB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008983/0.3425, allocations: 0.6145 MB / 0.5014 GB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/0.3425, allocations: 135.1 kB / 0.5015 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.3426, allocations: 9.562 kB / 0.5015 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.3428, allocations: 16.02 kB / 0.5016 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.3429, allocations: 24.03 kB / 0.5016 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.3429, allocations: 8.938 kB / 0.5016 GB, free: 11.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003604/0.3432, allocations: 356.7 kB / 0.5019 GB, free: 11.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3432, allocations: 4 kB / 0.5019 GB, free: 11.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004645/0.3437, allocations: 116.2 kB / 0.502 GB, free: 11.51 MB / 366.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 (24): * Single equations (assignments): 21 * 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.001551/0.3453, allocations: 461.3 kB / 0.5025 GB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.346, allocations: 391.8 kB / 0.5029 GB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.346, allocations: 0 / 0.5029 GB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.3463, allocations: 200.3 kB / 0.5031 GB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.3467, allocations: 87.47 kB / 0.5031 GB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3482, allocations: 0.9517 MB / 0.5041 GB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3485, allocations: 0.8628 MB / 0.5049 GB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3487, allocations: 35.5 kB / 0.5049 GB, free: 9.504 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3487, allocations: 0.9062 kB / 0.5049 GB, free: 9.504 MB / 366.1 MB Notification: Performance of Templates: time 0.009084/0.3577, allocations: 6.338 MB / 0.5111 GB, free: 4.258 MB / 366.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]