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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 249.4 MB, free: 3.008 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.06135/0.06135, allocations: 11.33 MB / 315.8 MB, free: 432 kB / 238.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.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=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 0.001972/0.001972, allocations: 67.89 kB / 440.6 MB, free: 5.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3111, allocations: 54.82 MB / 495.4 MB, free: 24.7 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003613/0.3147, allocations: 2.498 MB / 497.9 MB, free: 22.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.3171, allocations: 1.559 MB / 499.5 MB, free: 21.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.3174, allocations: 14.94 kB / 499.5 MB, free: 21.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007408/0.3182, allocations: 221 kB / 499.7 MB, free: 21.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.3185, allocations: 163.7 kB / 499.9 MB, free: 21.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.3197, allocations: 455.5 kB / 0.4886 GB, free: 21.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006068/0.3203, allocations: 0.6007 MB / 0.4892 GB, free: 20.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.3205, allocations: 64.23 kB / 0.4893 GB, free: 20.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.3207, allocations: 229.3 kB / 0.4895 GB, free: 20.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.321, allocations: 251.1 kB / 0.4897 GB, free: 20.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.216e-05/0.3211, allocations: 32.25 kB / 0.4897 GB, free: 20.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.3214, allocations: 155 kB / 0.4899 GB, free: 20.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.3216, allocations: 147.3 kB / 0.49 GB, free: 20.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.3218, allocations: 211.1 kB / 0.4902 GB, free: 20.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.3225, allocations: 0.55 MB / 0.4908 GB, free: 19.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3225, allocations: 1.531 kB / 0.4908 GB, free: 19.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.3225, allocations: 0 / 0.4908 GB, free: 19.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.3225, allocations: 0 / 0.4908 GB, free: 19.66 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.001315/0.3238, allocations: 0.9098 MB / 0.4917 GB, free: 18.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3239, allocations: 13.77 kB / 0.4917 GB, free: 18.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.324, allocations: 62.06 kB / 0.4917 GB, free: 18.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/0.3246, allocations: 455.4 kB / 0.4922 GB, free: 18.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.778e-05/0.3247, allocations: 80.22 kB / 0.4922 GB, free: 18.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.3248, allocations: 47.8 kB / 0.4923 GB, free: 18.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000814/0.3256, allocations: 453.9 kB / 0.4927 GB, free: 18.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.3256, allocations: 9.219 kB / 0.4927 GB, free: 18.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.3256, allocations: 16.22 kB / 0.4927 GB, free: 18.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.3256, allocations: 12.69 kB / 0.4928 GB, free: 18.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005694/0.3262, allocations: 289.1 kB / 0.493 GB, free: 17.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.3283, allocations: 1.84 MB / 0.4948 GB, free: 16.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.3288, allocations: 193 kB / 0.495 GB, free: 16.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.329, allocations: 111.3 kB / 0.4951 GB, free: 16.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.329, allocations: 3.531 kB / 0.4951 GB, free: 16.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003482/0.3294, allocations: 218.5 kB / 0.4953 GB, free: 15.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.164e-06/0.3294, allocations: 0 / 0.4953 GB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009634/0.3303, allocations: 0.4968 MB / 0.4958 GB, free: 15.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.3304, allocations: 115.9 kB / 0.4959 GB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/0.3309, allocations: 0.516 MB / 0.4964 GB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.3309, allocations: 32.33 kB / 0.4965 GB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3311, allocations: 274.6 kB / 0.4967 GB, free: 15.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.3311, allocations: 96.66 kB / 0.4968 GB, free: 14.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.3313, allocations: 87.61 kB / 0.4969 GB, free: 14.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.3313, allocations: 364.7 kB / 0.4972 GB, free: 14.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.3316, allocations: 124.2 kB / 0.4974 GB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.3318, allocations: 288.1 kB / 0.4976 GB, free: 14.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.3332, allocations: 0.7886 MB / 0.4984 GB, free: 13.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3332, allocations: 2.312 kB / 0.4984 GB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008217/0.3341, allocations: 0.5549 MB / 0.499 GB, free: 13.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.3341, allocations: 42.59 kB / 0.499 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3341, allocations: 3.656 kB / 0.499 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.3341, allocations: 10.56 kB / 0.499 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.3347, allocations: 100.5 kB / 0.4991 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.3347, allocations: 9.859 kB / 0.4991 GB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.3349, allocations: 55.31 kB / 0.4992 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.335, allocations: 20.22 kB / 0.4992 GB, free: 13.22 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.0002522/0.3352, allocations: 256.4 kB / 0.4994 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.3353, allocations: 50.45 kB / 0.4995 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007003/0.336, allocations: 450.8 kB / 0.4999 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.336, allocations: 6.75 kB / 0.4999 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.336, allocations: 0 / 0.4999 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.336, allocations: 5.312 kB / 0.4999 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.3364, allocations: 443.3 kB / 0.5003 GB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3364, allocations: 3.938 kB / 0.5003 GB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.3369, allocations: 61.45 kB / 0.5004 GB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3369, allocations: 9.359 kB / 0.5004 GB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.337, allocations: 9.5 kB / 0.5004 GB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.337, allocations: 1.375 kB / 0.5004 GB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.337, allocations: 4 kB / 0.5004 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.3379, allocations: 0.6128 MB / 0.501 GB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.338, allocations: 127.5 kB / 0.5011 GB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.338, allocations: 9.375 kB / 0.5012 GB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.3382, allocations: 16.02 kB / 0.5012 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.3382, allocations: 24.38 kB / 0.5012 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.3383, allocations: 11.38 kB / 0.5012 GB, free: 11.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003629/0.3386, allocations: 356.9 kB / 0.5015 GB, free: 11.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3386, allocations: 0 / 0.5015 GB, free: 11.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004325/0.3391, allocations: 116.8 kB / 0.5017 GB, free: 11.59 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.001474/0.3405, allocations: 460.5 kB / 0.5021 GB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006086/0.3411, allocations: 386.6 kB / 0.5025 GB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3411, allocations: 1.25 kB / 0.5025 GB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.3414, allocations: 203.8 kB / 0.5027 GB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3418, allocations: 78.47 kB / 0.5027 GB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.343, allocations: 0.9126 MB / 0.5036 GB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3433, allocations: 0.8594 MB / 0.5045 GB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.3435, allocations: 79.11 kB / 0.5045 GB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.389e-05/0.3436, allocations: 36.88 kB / 0.5046 GB, free: 9.582 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3436, allocations: 0 / 0.5046 GB, free: 9.582 MB / 366.1 MB Notification: Performance of Templates: time 0.008796/0.3524, allocations: 4.919 MB / 0.5094 GB, free: 5.535 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] [Calling sys.exit(0), Time elapsed: 4.860159954056144]