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.0008788/0.0008788, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009415/0.0009415, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9727/0.9727, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.03714/0.03714, allocations: 8.627 MB / 268.9 MB, free: 4.809 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.703e-06/1.703e-06, allocations: 0 / 288 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.437e-05, allocations: 5.406 kB / 288.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.1194/0.1194, allocations: 2.404 MB / 290.5 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.1213, allocations: 1.663 MB / 292.1 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.1215, allocations: 23.09 kB / 292.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006022/0.1221, allocations: 225.3 kB / 292.4 MB, free: 18.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.1226, allocations: 210.9 kB / 292.6 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007891/0.1234, allocations: 458.6 kB / 293 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.1239, allocations: 0.586 MB / 293.6 MB, free: 17.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1241, allocations: 64.31 kB / 293.7 MB, free: 17.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.1244, allocations: 295.1 kB / 294 MB, free: 17.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.1247, allocations: 217.1 kB / 294.2 MB, free: 17.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.1248, allocations: 34.16 kB / 294.2 MB, free: 17.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.125, allocations: 157 kB / 294.4 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1252, allocations: 146.6 kB / 294.5 MB, free: 17.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1253, allocations: 134.9 kB / 294.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.1257, allocations: 476 kB / 295.1 MB, free: 17.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1257, allocations: 2.812 kB / 295.1 MB, free: 17.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1258, allocations: 0 / 295.1 MB, free: 17.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1258, allocations: 0 / 295.1 MB, free: 17.27 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.000847/0.1266, allocations: 0.8103 MB / 295.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.1266, allocations: 9.406 kB / 295.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.1267, allocations: 69.05 kB / 296 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.1272, allocations: 389.6 kB / 296.4 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.1272, allocations: 25.72 kB / 296.4 MB, free: 16.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.1272, allocations: 43.75 kB / 296.4 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.1276, allocations: 371 kB / 296.8 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1276, allocations: 6.156 kB / 296.8 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.1276, allocations: 13.06 kB / 296.8 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.1276, allocations: 9.219 kB / 296.8 MB, free: 16.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.1278, allocations: 161.6 kB / 297 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.1289, allocations: 1.427 MB / 298.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.129, allocations: 187 kB / 298.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.416e-05/0.1291, allocations: 80.59 kB / 298.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1291, allocations: 8.531 kB / 298.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1293, allocations: 195.5 kB / 298.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.1293, allocations: 0 / 298.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002933/0.1296, allocations: 310 kB / 299.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.1296, allocations: 92.61 kB / 299.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.1299, allocations: 456.7 kB / 299.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1299, allocations: 33.27 kB / 299.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.13, allocations: 238.5 kB / 300 MB, free: 13.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.13, allocations: 126.4 kB / 300.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.533e-05/0.1301, allocations: 99.98 kB / 300.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.1302, allocations: 369.6 kB / 300.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.1303, allocations: 76.23 kB / 300.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1304, allocations: 269 kB / 300.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.1307, allocations: 456.4 kB / 301.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1307, allocations: 4.656 kB / 301.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0003278/0.131, allocations: 370.3 kB / 301.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.131, allocations: 40.31 kB / 301.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.131, allocations: 4.438 kB / 301.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.131, allocations: 11.95 kB / 301.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.1313, allocations: 106.3 kB / 301.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1313, allocations: 12.22 kB / 301.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.1314, allocations: 54.81 kB / 301.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.1314, allocations: 19.16 kB / 301.9 MB, free: 12.62 MB / 266.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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_track.ATreq_in,R_track.satHIGH_in,R_track.satLOW_in,R.TS_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.0001693/0.1316, allocations: 224.7 kB / 302.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.1317, allocations: 39.17 kB / 302.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.1319, allocations: 287.7 kB / 302.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1319, allocations: 11.66 kB / 302.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.1319, allocations: 0.9844 kB / 302.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1319, allocations: 3.312 kB / 302.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.1321, allocations: 230.2 kB / 302.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1321, allocations: 0 / 302.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.1323, allocations: 65.89 kB / 302.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1323, allocations: 0 / 302.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1323, allocations: 11.98 kB / 302.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1323, allocations: 4.516 kB / 302.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1323, allocations: 3.344 kB / 302.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.1326, allocations: 414.2 kB / 303.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.1327, allocations: 49.36 kB / 303.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.1327, allocations: 16.89 kB / 303.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.1328, allocations: 16.2 kB / 303.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.1328, allocations: 20.95 kB / 303.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1329, allocations: 12.69 kB / 303.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.133, allocations: 197.8 kB / 303.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.133, allocations: 0 / 303.5 MB, free: 11.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000262/0.1332, allocations: 123.4 kB / 303.6 MB, free: 11.75 MB / 266.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.001069/0.1343, allocations: 0.5529 MB / 304.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.1346, allocations: 343.4 kB / 304.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.1346, allocations: 6.531 kB / 304.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.1347, allocations: 181.1 kB / 304.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1349, allocations: 88.16 kB / 304.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.1357, allocations: 0.9296 MB / 305.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.804e-05/0.1357, allocations: 141.5 kB / 305.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.1359, allocations: 58.09 kB / 305.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.136, allocations: 132.6 kB / 306.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of SimCode: time 3.5e-07/0.136, allocations: 0 / 306.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of Templates: time 0.006772/0.1428, allocations: 5.5 MB / 311.5 MB, free: 5.699 MB / 266.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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7508048126474023]