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.001292/0.001292, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.00128/0.00128, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.422/1.422, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.06174/0.06174, allocations: 11.34 MB / 320.9 MB, free: 14.13 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.001854/0.001854, allocations: 68.48 kB / 446.5 MB, free: 38.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09417, allocations: 56 MB / 0.4908 GB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.00339/0.09756, allocations: 2.496 MB / 0.4932 GB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.1001, allocations: 1.704 MB / 0.4949 GB, free: 15.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.1003, allocations: 19.81 kB / 0.4949 GB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007387/0.1011, allocations: 222.9 kB / 0.4951 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.1015, allocations: 207.1 kB / 0.4953 GB, free: 14.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009075/0.1024, allocations: 409.8 kB / 0.4957 GB, free: 14.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006999/0.1031, allocations: 0.6287 MB / 0.4963 GB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.1033, allocations: 69.22 kB / 0.4964 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.1036, allocations: 239.1 kB / 0.4966 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.104, allocations: 258.8 kB / 0.4968 GB, free: 13.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.104, allocations: 32 kB / 0.4969 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.1043, allocations: 155.9 kB / 0.497 GB, free: 13.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.1045, allocations: 143.5 kB / 0.4971 GB, free: 12.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.1047, allocations: 222.5 kB / 0.4974 GB, free: 12.65 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006964/0.1054, allocations: 0.5562 MB / 0.4979 GB, free: 12.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1054, allocations: 0 / 0.4979 GB, free: 12.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1054, allocations: 0 / 0.4979 GB, free: 12.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1054, allocations: 0 / 0.4979 GB, free: 12.09 MB / 366.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.001508/0.1069, allocations: 0.9034 MB / 0.4988 GB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1069, allocations: 15.97 kB / 0.4988 GB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.886e-05/0.107, allocations: 8.844 kB / 0.4988 GB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.037e-05/0.107, allocations: 74.72 kB / 0.4989 GB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.1072, allocations: 64.52 kB / 0.4989 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006653/0.1078, allocations: 466.7 kB / 0.4994 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.1079, allocations: 84.19 kB / 0.4995 GB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.108, allocations: 39.98 kB / 0.4995 GB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007509/0.1087, allocations: 450 kB / 0.4999 GB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.1088, allocations: 4 kB / 0.4999 GB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.1088, allocations: 16 kB / 0.5 GB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.1088, allocations: 11.94 kB / 0.5 GB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005565/0.1094, allocations: 290.1 kB / 0.5002 GB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.112, allocations: 1.856 MB / 0.5021 GB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/0.1125, allocations: 191.3 kB / 0.5022 GB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.1128, allocations: 120.8 kB / 0.5024 GB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.1128, allocations: 7.984 kB / 0.5024 GB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000407/0.1132, allocations: 213.6 kB / 0.5026 GB, free: 7.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.1132, allocations: 0 / 0.5026 GB, free: 7.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001018/0.1142, allocations: 499.9 kB / 0.503 GB, free: 6.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.1143, allocations: 106.8 kB / 0.5031 GB, free: 6.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/0.115, allocations: 0.5254 MB / 0.5037 GB, free: 5.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.115, allocations: 29.7 kB / 0.5037 GB, free: 5.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.1153, allocations: 284.3 kB / 0.504 GB, free: 5.559 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.582e-05/0.1153, allocations: 91.23 kB / 0.504 GB, free: 5.469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.1155, allocations: 94.05 kB / 0.5041 GB, free: 5.367 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1157, allocations: 362.7 kB / 0.5045 GB, free: 5.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.1159, allocations: 124.9 kB / 0.5046 GB, free: 4.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.1163, allocations: 278.9 kB / 0.5049 GB, free: 4.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.1181, allocations: 0.7965 MB / 0.5056 GB, free: 3.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1181, allocations: 0 / 0.5056 GB, free: 3.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001015/0.1191, allocations: 0.5497 MB / 0.5062 GB, free: 3.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.1191, allocations: 33.7 kB / 0.5062 GB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1191, allocations: 4 kB / 0.5062 GB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.1192, allocations: 8 kB / 0.5062 GB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.1198, allocations: 108.4 kB / 0.5063 GB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.1198, allocations: 8 kB / 0.5063 GB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.12, allocations: 63.55 kB / 0.5064 GB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.12, allocations: 20 kB / 0.5064 GB, free: 2.848 MB / 366.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.000336/0.1204, allocations: 259.9 kB / 0.5067 GB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.1205, allocations: 51.67 kB / 0.5067 GB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008407/0.1213, allocations: 444.1 kB / 0.5071 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1213, allocations: 0 / 0.5071 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1213, allocations: 3.938 kB / 0.5071 GB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.1213, allocations: 4 kB / 0.5071 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.1218, allocations: 449.1 kB / 0.5076 GB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1218, allocations: 0 / 0.5076 GB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.1225, allocations: 67.95 kB / 0.5076 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1225, allocations: 0 / 0.5076 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.1225, allocations: 12 kB / 0.5076 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1225, allocations: 0 / 0.5076 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1225, allocations: 3.938 kB / 0.5076 GB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.1235, allocations: 0.6036 MB / 0.5082 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1237, allocations: 128.7 kB / 0.5084 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.1237, allocations: 8 kB / 0.5084 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1239, allocations: 19.92 kB / 0.5084 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.124, allocations: 23.97 kB / 0.5084 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.124, allocations: 12 kB / 0.5084 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004291/0.1244, allocations: 358.8 kB / 0.5088 GB, free: 324 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1244, allocations: 0 / 0.5088 GB, free: 324 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004194/0.1248, allocations: 123.7 kB / 0.5089 GB, free: 200 kB / 366.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.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * 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.00291/0.1277, allocations: 1.499 MB / 0.5103 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007257/0.1285, allocations: 402.9 kB / 0.5107 GB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1285, allocations: 0 / 0.5107 GB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.1288, allocations: 199.5 kB / 0.5109 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.1292, allocations: 73.44 kB / 0.511 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/0.1353, allocations: 4.426 MB / 0.5153 GB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.1359, allocations: 0.862 MB / 0.5162 GB, free: 8.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002342/0.1361, allocations: 83.23 kB / 0.5162 GB, free: 8.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.1364, allocations: 175.4 kB / 0.5164 GB, free: 8.379 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1364, allocations: 0 / 0.5164 GB, free: 8.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.1698, allocations: 9.961 MB / 0.5261 GB, free: 14.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.724/8.894, allocations: 18 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 11.624422758992296] Failed to read output from testmodel.py, exit status != 0: 9.079482962028123 9.102002192 8.992505232 Calling exit ...