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.001281/0.001281, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.001465/0.001465, allocations: 214.9 kB / 22.25 MB, free: 5.117 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.793 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.06343/0.06343, allocations: 11.35 MB / 323.8 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking",fmuType="me",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.002046/0.002046, allocations: 71.91 kB / 451 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.107, allocations: 56.07 MB / 0.4952 GB, free: 2.164 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.004044/0.1111, allocations: 2.36 MB / 0.4975 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.114, allocations: 1.607 MB / 0.499 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.1142, allocations: 19.81 kB / 0.499 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007316/0.115, allocations: 230.9 kB / 0.4993 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004868/0.1155, allocations: 203.1 kB / 0.4995 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009401/0.1164, allocations: 433.8 kB / 0.4999 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007512/0.1172, allocations: 0.6599 MB / 0.5005 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1173, allocations: 57.52 kB / 0.5006 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.1176, allocations: 235.1 kB / 0.5008 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003422/0.118, allocations: 250.9 kB / 0.501 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.075e-05/0.118, allocations: 36 kB / 0.5011 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.1183, allocations: 151.9 kB / 0.5012 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.1185, allocations: 139.5 kB / 0.5013 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.1186, allocations: 174.8 kB / 0.5015 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006873/0.1193, allocations: 0.5601 MB / 0.5021 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1193, allocations: 0 / 0.5021 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1193, allocations: 0 / 0.5021 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1194, allocations: 3.938 kB / 0.5021 GB, free: 11.05 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.001517/0.1209, allocations: 0.8319 MB / 0.5029 GB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1209, allocations: 8.031 kB / 0.5029 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.21e-05/0.121, allocations: 70.72 kB / 0.503 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.1211, allocations: 68.45 kB / 0.503 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006981/0.1218, allocations: 398.8 kB / 0.5034 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.833e-05/0.1219, allocations: 84.38 kB / 0.5035 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.122, allocations: 32 kB / 0.5035 GB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007439/0.1227, allocations: 487 kB / 0.504 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1227, allocations: 0 / 0.504 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.1228, allocations: 12 kB / 0.504 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1228, allocations: 8 kB / 0.504 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.1233, allocations: 324 kB / 0.5043 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.1259, allocations: 1.767 MB / 0.506 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000529/0.1265, allocations: 216.2 kB / 0.5062 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.1267, allocations: 146.5 kB / 0.5064 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1267, allocations: 4 kB / 0.5064 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004152/0.1271, allocations: 251.4 kB / 0.5066 GB, free: 6.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.1271, allocations: 0 / 0.5066 GB, free: 6.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001033/0.1282, allocations: 0.5556 MB / 0.5072 GB, free: 5.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.1282, allocations: 85.11 kB / 0.5072 GB, free: 5.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/0.1289, allocations: 0.5331 MB / 0.5078 GB, free: 4.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.1289, allocations: 33.7 kB / 0.5078 GB, free: 4.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.1291, allocations: 280.3 kB / 0.5081 GB, free: 4.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.651e-05/0.1292, allocations: 91.22 kB / 0.5081 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.1294, allocations: 98 kB / 0.5082 GB, free: 4.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1296, allocations: 358.8 kB / 0.5086 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.1298, allocations: 158.5 kB / 0.5087 GB, free: 3.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.1302, allocations: 341.2 kB / 0.5091 GB, free: 3.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.1319, allocations: 0.8052 MB / 0.5098 GB, free: 2.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1319, allocations: 0 / 0.5098 GB, free: 2.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009372/0.1328, allocations: 0.5941 MB / 0.5104 GB, free: 1.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.1329, allocations: 37.69 kB / 0.5105 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1329, allocations: 4 kB / 0.5105 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.1329, allocations: 8 kB / 0.5105 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/0.1335, allocations: 103.8 kB / 0.5106 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.1335, allocations: 8 kB / 0.5106 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.1337, allocations: 51.66 kB / 0.5106 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.1338, allocations: 27.88 kB / 0.5107 GB, free: 1.691 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.0003245/0.1341, allocations: 262.4 kB / 0.5109 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.1342, allocations: 51.67 kB / 0.511 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008355/0.135, allocations: 489.9 kB / 0.5114 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.135, allocations: 4 kB / 0.5114 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.135, allocations: 0 / 0.5114 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.135, allocations: 3.938 kB / 0.5114 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.1355, allocations: 376.4 kB / 0.5118 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1355, allocations: 0 / 0.5118 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/0.1361, allocations: 67.89 kB / 0.5119 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1361, allocations: 0 / 0.5119 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.1361, allocations: 20 kB / 0.5119 GB, free: 372 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1361, allocations: 4 kB / 0.5119 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1361, allocations: 0 / 0.5119 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1919/0.328, allocations: 0.6815 MB / 0.5125 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.3282, allocations: 47.92 kB / 0.5126 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.074e-05/0.3282, allocations: 14.72 kB / 0.5126 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.3284, allocations: 12.45 kB / 0.5126 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.3284, allocations: 28.84 kB / 0.5126 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.3285, allocations: 11.52 kB / 0.5127 GB, free: 23.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003491/0.3288, allocations: 366.3 kB / 0.513 GB, free: 23.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3288, allocations: 0.6562 kB / 0.513 GB, free: 23.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004491/0.3293, allocations: 113.8 kB / 0.5131 GB, free: 23.09 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.002471/0.3317, allocations: 1.596 MB / 0.5147 GB, free: 22.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.3324, allocations: 469.9 kB / 0.5151 GB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3324, allocations: 0.875 kB / 0.5151 GB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.3326, allocations: 237.3 kB / 0.5153 GB, free: 22.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.333, allocations: 73.59 kB / 0.5154 GB, free: 22.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.3373, allocations: 4.605 MB / 0.5199 GB, free: 20.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3375, allocations: 264 kB / 0.5202 GB, free: 20.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002093/0.3377, allocations: 76.69 kB / 0.5202 GB, free: 20.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.3379, allocations: 181 kB / 0.5204 GB, free: 20.04 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3379, allocations: 2.438 kB / 0.5204 GB, free: 20.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.3796, allocations: 10.65 MB / 0.5308 GB, free: 17.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.41, allocations: 13.09 kB / 0.5308 GB, free: 17.45 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: 13.989715461619198] Failed to read output from testmodel.py, exit status != 0: 11.575195288285613 11.587129619 11.465438259 Calling exit ...