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.001733/0.001733, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00223/0.00223, allocations: 221.1 kB / 23 MB, free: 4.914 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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.06686/0.06686, allocations: 11.35 MB / 324.5 MB, free: 8.039 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.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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 75.89 kB / 452.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1074, allocations: 56.07 MB / 0.4964 GB, free: 1.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.004258/0.1117, allocations: 2.337 MB / 0.4987 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.1147, allocations: 1.597 MB / 0.5002 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.115, allocations: 19.81 kB / 0.5002 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007056/0.1157, allocations: 223 kB / 0.5005 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005388/0.1162, allocations: 222.3 kB / 0.5007 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1173, allocations: 419 kB / 0.5011 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008493/0.1182, allocations: 0.6646 MB / 0.5017 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.1183, allocations: 57.23 kB / 0.5018 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.1187, allocations: 243.1 kB / 0.502 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.1191, allocations: 254.8 kB / 0.5022 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.751e-05/0.1191, allocations: 36 kB / 0.5023 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.1194, allocations: 159.8 kB / 0.5024 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.1196, allocations: 147.5 kB / 0.5026 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.1198, allocations: 178.8 kB / 0.5027 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007589/0.1206, allocations: 0.595 MB / 0.5033 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1206, allocations: 4 kB / 0.5033 GB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1206, allocations: 0 / 0.5033 GB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1206, allocations: 0 / 0.5033 GB, free: 10.52 MB / 382.1 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.001523/0.1221, allocations: 0.8555 MB / 0.5042 GB, free: 9.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1222, allocations: 19.97 kB / 0.5042 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.1223, allocations: 64.52 kB / 0.5042 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/0.123, allocations: 402.8 kB / 0.5046 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.1231, allocations: 25.38 kB / 0.5046 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.1232, allocations: 40.12 kB / 0.5047 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.124, allocations: 0.501 MB / 0.5052 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.124, allocations: 3.953 kB / 0.5052 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.124, allocations: 19.94 kB / 0.5052 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.124, allocations: 12 kB / 0.5052 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/0.1247, allocations: 360 kB / 0.5056 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.1274, allocations: 1.765 MB / 0.5073 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.1279, allocations: 252.7 kB / 0.5075 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.1281, allocations: 166.7 kB / 0.5077 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.1282, allocations: 12.16 kB / 0.5077 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004619/0.1286, allocations: 277.8 kB / 0.508 GB, free: 5.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.943e-06/0.1286, allocations: 4 kB / 0.508 GB, free: 5.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.00111/0.1297, allocations: 0.6175 MB / 0.5086 GB, free: 4.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.1298, allocations: 85.11 kB / 0.5086 GB, free: 4.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/0.1305, allocations: 0.5291 MB / 0.5092 GB, free: 4.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.1305, allocations: 33.7 kB / 0.5092 GB, free: 4.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.1308, allocations: 292.5 kB / 0.5095 GB, free: 3.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.1309, allocations: 119 kB / 0.5096 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.1311, allocations: 114.1 kB / 0.5097 GB, free: 3.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1313, allocations: 366.8 kB / 0.51 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.1316, allocations: 178.7 kB / 0.5102 GB, free: 3.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.132, allocations: 364.7 kB / 0.5106 GB, free: 2.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.134, allocations: 0.9409 MB / 0.5115 GB, free: 1.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.134, allocations: 0 / 0.5115 GB, free: 1.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001291/0.1353, allocations: 0.6968 MB / 0.5122 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/0.1354, allocations: 37.69 kB / 0.5122 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.1354, allocations: 8.062 kB / 0.5122 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.1354, allocations: 12 kB / 0.5122 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.1359, allocations: 111.8 kB / 0.5123 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.1359, allocations: 11.94 kB / 0.5123 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.1363, allocations: 59.61 kB / 0.5124 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.1363, allocations: 24 kB / 0.5124 GB, free: 0.6875 MB / 382.1 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.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 (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.0004982/0.1368, allocations: 270.9 kB / 0.5127 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.565e-05/0.1369, allocations: 63.56 kB / 0.5127 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2251/0.362, allocations: 0.5267 MB / 0.5132 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.362, allocations: 3.312 kB / 0.5132 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.362, allocations: 0 / 0.5132 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.362, allocations: 2.203 kB / 0.5133 GB, free: 23.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.3625, allocations: 342.9 kB / 0.5136 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3625, allocations: 1.25 kB / 0.5136 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.3629, allocations: 72.48 kB / 0.5136 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.3629, allocations: 1.281 kB / 0.5136 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.363, allocations: 16.8 kB / 0.5137 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.363, allocations: 3.344 kB / 0.5137 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.363, allocations: 0 / 0.5137 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009662/0.3639, allocations: 0.7472 MB / 0.5144 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.364, allocations: 57 kB / 0.5145 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.3641, allocations: 18.41 kB / 0.5145 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3642, allocations: 17.44 kB / 0.5145 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.3643, allocations: 22.08 kB / 0.5145 GB, free: 23.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.3643, allocations: 14.56 kB / 0.5145 GB, free: 23.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003196/0.3646, allocations: 359.8 kB / 0.5149 GB, free: 22.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3646, allocations: 0 / 0.5149 GB, free: 22.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000447/0.3651, allocations: 129 kB / 0.515 GB, free: 22.95 MB / 382.1 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.001631/0.3667, allocations: 484 kB / 0.5154 GB, free: 22.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000729/0.3674, allocations: 0.519 MB / 0.516 GB, free: 22.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3674, allocations: 0 / 0.516 GB, free: 22.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.3677, allocations: 264 kB / 0.5162 GB, free: 22.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3681, allocations: 81.98 kB / 0.5163 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.3694, allocations: 1.129 MB / 0.5174 GB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.3696, allocations: 286 kB / 0.5177 GB, free: 21.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3697, allocations: 40.19 kB / 0.5177 GB, free: 21.95 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3697, allocations: 3.969 kB / 0.5177 GB, free: 21.95 MB / 382.1 MB Notification: Performance of Templates: time 0.01322/0.3829, allocations: 6.985 MB / 0.5245 GB, free: 21.3 MB / 382.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.182718509808183] Failed to read output from testmodel.py, exit status != 0: 0.3911853991448879 0.404162271 0.28074016500000004 Calling exit ...