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.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.001763/0.001763, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001506/0.001506, allocations: 220.6 kB / 23.03 MB, free: 4.945 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.387/1.387, 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.06347/0.06347, allocations: 11.34 MB / 324.6 MB, free: 8.035 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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking",fmuType="cs",version="2.0",platforms={"static"}) [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.001931/0.001931, allocations: 68.17 kB / 451.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1068, allocations: 56.07 MB / 0.4959 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.004359/0.1111, allocations: 2.36 MB / 0.4982 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.114, allocations: 1.599 MB / 0.4998 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.1142, allocations: 23.69 kB / 0.4998 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.115, allocations: 231 kB / 0.5 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.1155, allocations: 211 kB / 0.5002 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009563/0.1164, allocations: 434 kB / 0.5006 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008236/0.1173, allocations: 0.6639 MB / 0.5013 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.1175, allocations: 65.52 kB / 0.5013 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.1178, allocations: 231.1 kB / 0.5016 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.1181, allocations: 262.9 kB / 0.5018 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.131e-05/0.1182, allocations: 32 kB / 0.5018 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.1185, allocations: 163.8 kB / 0.502 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.1187, allocations: 143.5 kB / 0.5021 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002169/0.1189, allocations: 174.9 kB / 0.5023 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007714/0.1197, allocations: 0.5562 MB / 0.5028 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1197, allocations: 0 / 0.5028 GB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1197, allocations: 3.938 kB / 0.5029 GB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1197, allocations: 0 / 0.5029 GB, free: 11.02 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001697/0.1214, allocations: 0.838 MB / 0.5037 GB, free: 10.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.1215, allocations: 12.02 kB / 0.5037 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.372e-05/0.1215, allocations: 8.844 kB / 0.5037 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.569e-05/0.1216, allocations: 74.66 kB / 0.5038 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.1217, allocations: 68.52 kB / 0.5038 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/0.1224, allocations: 386.9 kB / 0.5042 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.309e-05/0.1225, allocations: 80.19 kB / 0.5043 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.1226, allocations: 36 kB / 0.5043 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008264/0.1234, allocations: 0.4976 MB / 0.5048 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.1234, allocations: 11.94 kB / 0.5048 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.1234, allocations: 12 kB / 0.5048 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1235, allocations: 12 kB / 0.5048 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000569/0.124, allocations: 324 kB / 0.5051 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.1266, allocations: 1.763 MB / 0.5069 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.1271, allocations: 212.2 kB / 0.5071 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.1273, allocations: 150.5 kB / 0.5072 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.1273, allocations: 8 kB / 0.5072 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000411/0.1277, allocations: 251.3 kB / 0.5075 GB, free: 6.031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.744e-06/0.1277, allocations: 0 / 0.5075 GB, free: 6.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009929/0.1287, allocations: 0.5517 MB / 0.508 GB, free: 5.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/0.1288, allocations: 114.8 kB / 0.5081 GB, free: 5.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/0.1295, allocations: 0.5253 MB / 0.5086 GB, free: 4.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.1295, allocations: 37.64 kB / 0.5086 GB, free: 4.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.1297, allocations: 280.3 kB / 0.5089 GB, free: 4.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/0.1298, allocations: 95.23 kB / 0.509 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.1299, allocations: 86.06 kB / 0.5091 GB, free: 4.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1301, allocations: 370.7 kB / 0.5094 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.1304, allocations: 154.5 kB / 0.5096 GB, free: 3.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.1308, allocations: 367.8 kB / 0.5099 GB, free: 3.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.1324, allocations: 0.8051 MB / 0.5107 GB, free: 2.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1324, allocations: 0 / 0.5107 GB, free: 2.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009104/0.1333, allocations: 0.5903 MB / 0.5113 GB, free: 1.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.1334, allocations: 41.78 kB / 0.5113 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1334, allocations: 4 kB / 0.5113 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.1334, allocations: 8 kB / 0.5114 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.134, allocations: 99.83 kB / 0.5114 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.134, allocations: 11.98 kB / 0.5115 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.1342, allocations: 71.42 kB / 0.5115 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.1343, allocations: 27.98 kB / 0.5116 GB, free: 1.531 MB / 382.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.0003366/0.1346, allocations: 242.4 kB / 0.5118 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.1347, allocations: 51.67 kB / 0.5118 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008546/0.1355, allocations: 493.9 kB / 0.5123 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1355, allocations: 4 kB / 0.5123 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1355, allocations: 3.938 kB / 0.5123 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1355, allocations: 4 kB / 0.5123 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.136, allocations: 380.4 kB / 0.5127 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.136, allocations: 0 / 0.5127 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.1366, allocations: 67.95 kB / 0.5127 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1366, allocations: 0 / 0.5127 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.1366, allocations: 11.98 kB / 0.5128 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1366, allocations: 7.938 kB / 0.5128 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1366, allocations: 7.938 kB / 0.5128 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2166/0.3532, allocations: 0.6666 MB / 0.5134 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.678e-05/0.3533, allocations: 54.77 kB / 0.5135 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.3534, allocations: 12.56 kB / 0.5135 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3535, allocations: 14.98 kB / 0.5135 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.3536, allocations: 22.72 kB / 0.5135 GB, free: 22.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.3537, allocations: 18.05 kB / 0.5135 GB, free: 22.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003682/0.354, allocations: 368.2 kB / 0.5139 GB, free: 22.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.354, allocations: 0.875 kB / 0.5139 GB, free: 22.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004811/0.3545, allocations: 112 kB / 0.514 GB, free: 22.65 MB / 382.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 (25): * Single equations (assignments): 22 * 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.002555/0.3571, allocations: 1.595 MB / 0.5156 GB, free: 21.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007103/0.3578, allocations: 463.7 kB / 0.516 GB, free: 21.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3578, allocations: 0 / 0.516 GB, free: 21.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.358, allocations: 234.3 kB / 0.5162 GB, free: 21.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.3585, allocations: 87.39 kB / 0.5163 GB, free: 21.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/0.3631, allocations: 4.612 MB / 0.5208 GB, free: 19.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.3634, allocations: 269.3 kB / 0.5211 GB, free: 19.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002413/0.3636, allocations: 80.02 kB / 0.5211 GB, free: 19.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.3639, allocations: 174.7 kB / 0.5213 GB, free: 19.55 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3639, allocations: 0.7656 kB / 0.5213 GB, free: 19.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.4002, allocations: 10.48 MB / 0.5315 GB, free: 17.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.04, allocations: 4.344 kB / 0.5315 GB, free: 17.31 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.713873922009952] Failed to read output from testmodel.py, exit status != 0: 12.257627893937752 12.270457054 12.1482124 Calling exit ...