Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.0008847/0.0008847, allocations: 80.88 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.0008923/0.0008923, allocations: 181 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.8732/0.8732, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.03676/0.03676, allocations: 8.625 MB / 268.9 MB, free: 4.793 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.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 288.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.2e-05, allocations: 6.312 kB / 288.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.09585/0.09587, allocations: 2.418 MB / 290.5 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.09788, allocations: 1.572 MB / 292.1 MB, free: 18.53 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.09812, allocations: 22.22 kB / 292.1 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005756/0.09869, allocations: 225.3 kB / 292.3 MB, free: 18.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.09902, allocations: 217.5 kB / 292.5 MB, free: 18.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.0996, allocations: 415.5 kB / 292.9 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.09999, allocations: 0.5471 MB / 293.5 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1001, allocations: 58.69 kB / 293.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.1003, allocations: 272.3 kB / 293.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1005, allocations: 195.2 kB / 294 MB, free: 17.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.1006, allocations: 33.78 kB / 294 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.1007, allocations: 150.3 kB / 294.2 MB, free: 17.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1008, allocations: 133.7 kB / 294.3 MB, free: 17.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.1009, allocations: 124.3 kB / 294.4 MB, free: 17.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000373/0.1013, allocations: 445.1 kB / 294.8 MB, free: 17.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1013, allocations: 0 / 294.8 MB, free: 17.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1013, allocations: 1.344 kB / 294.8 MB, free: 17.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1013, allocations: 0 / 294.8 MB, free: 17.36 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0006541/0.102, allocations: 0.7819 MB / 295.6 MB, free: 16.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.545e-05/0.102, allocations: 9.578 kB / 295.6 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.1021, allocations: 61.48 kB / 295.7 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.1024, allocations: 363.8 kB / 296.1 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1024, allocations: 26.69 kB / 296.1 MB, free: 16.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.1025, allocations: 45.67 kB / 296.1 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.1027, allocations: 341.5 kB / 296.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1028, allocations: 7.141 kB / 296.5 MB, free: 16.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.1028, allocations: 12.06 kB / 296.5 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1028, allocations: 8.562 kB / 296.5 MB, free: 16.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1029, allocations: 141.9 kB / 296.6 MB, free: 16.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008463/0.1038, allocations: 1.346 MB / 298 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.104, allocations: 186.8 kB / 298.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.104, allocations: 73.97 kB / 298.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.1041, allocations: 4.344 kB / 298.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.1042, allocations: 186.5 kB / 298.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.223e-06/0.1042, allocations: 1.156 kB / 298.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002478/0.1044, allocations: 278.8 kB / 298.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.1045, allocations: 84.8 kB / 298.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.1047, allocations: 430.3 kB / 299.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1047, allocations: 32.11 kB / 299.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.1048, allocations: 233.1 kB / 299.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.1048, allocations: 92.33 kB / 299.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.1049, allocations: 88.78 kB / 299.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.105, allocations: 365.7 kB / 300 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.105, allocations: 68.09 kB / 300 MB, free: 13.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.025e-05/0.1051, allocations: 241.5 kB / 300.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.1053, allocations: 418.1 kB / 300.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1053, allocations: 2.281 kB / 300.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0002598/0.1056, allocations: 327.2 kB / 301 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.1056, allocations: 38.34 kB / 301 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1056, allocations: 4.25 kB / 301.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1056, allocations: 8.125 kB / 301.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.1058, allocations: 81.78 kB / 301.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1058, allocations: 8.312 kB / 301.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1059, allocations: 43.53 kB / 301.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1059, allocations: 16 kB / 301.2 MB, free: 12.88 MB / 266.7 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.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 (50): * Single equations (assignments): 49 * 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.0001247/0.1061, allocations: 205.8 kB / 301.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.1061, allocations: 34.94 kB / 301.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.1063, allocations: 270.1 kB / 301.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1063, allocations: 3.641 kB / 301.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1063, allocations: 0.5625 kB / 301.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1063, allocations: 0.8906 kB / 301.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.1065, allocations: 212.7 kB / 301.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1065, allocations: 7.125 kB / 301.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.1066, allocations: 45.64 kB / 302 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1067, allocations: 6.688 kB / 302 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.1067, allocations: 9.203 kB / 302 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1067, allocations: 1.547 kB / 302 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1067, allocations: 1.938 kB / 302 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.107, allocations: 360 kB / 302.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.107, allocations: 49.48 kB / 302.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.107, allocations: 10.77 kB / 302.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-05/0.1071, allocations: 13.41 kB / 302.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.1071, allocations: 20.69 kB / 302.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1071, allocations: 8.469 kB / 302.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.1073, allocations: 185.8 kB / 302.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1073, allocations: 0 / 302.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.1075, allocations: 119.2 kB / 302.7 MB, free: 12.08 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (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 (26): * Single equations (assignments): 23 * 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.0009833/0.1085, allocations: 0.5545 MB / 303.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1087, allocations: 298.8 kB / 303.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.1087, allocations: 6.281 kB / 303.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.1088, allocations: 170.3 kB / 303.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.109, allocations: 81.92 kB / 303.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.11, allocations: 0.7992 MB / 304.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.727e-05/0.1101, allocations: 133 kB / 304.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.1102, allocations: 52.39 kB / 304.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.1104, allocations: 125.3 kB / 304.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1104, allocations: 3.938 kB / 304.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of Templates: time 0.007199/0.1176, allocations: 5.044 MB / 310 MB, free: 7.258 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.623120772652328]