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.001031/0.001031, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001443/0.001443, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9443/0.9443, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.03613/0.03613, allocations: 8.615 MB / 267.8 MB, free: 5.133 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: "" <> 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: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 395.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.51e-05, allocations: 5.234 kB / 395.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003019/0.003045, allocations: 2.35 MB / 397.4 MB, free: 292 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.005146, allocations: 1.606 MB / 399 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.005371, allocations: 23.75 kB / 399 MB, free: 14.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.005964, allocations: 230.8 kB / 399.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.006346, allocations: 210.9 kB / 399.5 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008771/0.007223, allocations: 470 kB / 399.9 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006408/0.007864, allocations: 0.5857 MB / 400.5 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.008038, allocations: 61.22 kB / 400.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004835/0.008522, allocations: 295.2 kB / 400.9 MB, free: 12.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.008782, allocations: 211.4 kB / 401.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.008826, allocations: 32 kB / 401.1 MB, free: 12.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.009039, allocations: 147.8 kB / 401.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.009159, allocations: 151.4 kB / 401.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.009265, allocations: 131.6 kB / 401.5 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005055/0.009771, allocations: 0.5684 MB / 402.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.009773, allocations: 0 / 402.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.009774, allocations: 4 kB / 402.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.00978, allocations: 0 / 402.1 MB, free: 11.58 MB / 378.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.001081/0.01086, allocations: 0.8302 MB / 402.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.01091, allocations: 12.03 kB / 402.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.7e-05/0.01097, allocations: 74.7 kB / 403 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.651e-05/0.01107, allocations: 64.52 kB / 403.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005121/0.01158, allocations: 382.2 kB / 403.5 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/0.01165, allocations: 76.62 kB / 403.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.0117, allocations: 40.33 kB / 403.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.01221, allocations: 487.1 kB / 404 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.01223, allocations: 4 kB / 404 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.01225, allocations: 16 kB / 404.1 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.01226, allocations: 8 kB / 404.1 MB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006297/0.01289, allocations: 320 kB / 404.4 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.01444, allocations: 1.756 MB / 406.1 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.01478, allocations: 220.1 kB / 406.4 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.01493, allocations: 154.6 kB / 406.5 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.01495, allocations: 4 kB / 406.5 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.01521, allocations: 250.6 kB / 406.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.01522, allocations: 0 / 406.8 MB, free: 6.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006298/0.01585, allocations: 0.5517 MB / 407.3 MB, free: 6.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.01589, allocations: 81.11 kB / 407.4 MB, free: 5.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.01629, allocations: 0.5331 MB / 407.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.01632, allocations: 33.7 kB / 408 MB, free: 5.406 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.01646, allocations: 288.3 kB / 408.2 MB, free: 5.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.01651, allocations: 95.2 kB / 408.3 MB, free: 5.027 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.893e-05/0.0166, allocations: 90 kB / 408.4 MB, free: 4.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.0167, allocations: 366.8 kB / 408.8 MB, free: 4.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.01686, allocations: 154.5 kB / 408.9 MB, free: 4.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.01708, allocations: 329.2 kB / 409.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.01806, allocations: 0.8135 MB / 410.1 MB, free: 3.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.01807, allocations: 8 kB / 410.1 MB, free: 3.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005645/0.01863, allocations: 0.5865 MB / 410.7 MB, free: 2.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.01866, allocations: 41.69 kB / 410.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01867, allocations: 4 kB / 410.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01868, allocations: 4 kB / 410.7 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.01897, allocations: 103.8 kB / 410.8 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.01898, allocations: 8 kB / 410.8 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.01911, allocations: 51.66 kB / 410.9 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.01913, allocations: 20 kB / 410.9 MB, free: 2.258 MB / 378.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.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.0002222/0.01935, allocations: 266.5 kB / 411.1 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.0194, allocations: 59.61 kB / 411.2 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007646/0.02016, allocations: 489.9 kB / 411.7 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.02016, allocations: 0 / 411.7 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.02017, allocations: 4 kB / 411.7 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.02017, allocations: 3.938 kB / 411.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.02046, allocations: 388.3 kB / 412.1 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02047, allocations: 0 / 412.1 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.02076, allocations: 63.95 kB / 412.1 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.02076, allocations: 0 / 412.1 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.02078, allocations: 8 kB / 412.1 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.02078, allocations: 8 kB / 412.1 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.02078, allocations: 0 / 412.1 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.02145, allocations: 0.6818 MB / 412.8 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.02149, allocations: 55.59 kB / 412.9 MB, free: 144 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.02153, allocations: 8 kB / 412.9 MB, free: 136 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-05/0.02161, allocations: 19.92 kB / 412.9 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.02167, allocations: 23.91 kB / 412.9 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.0217, allocations: 11.98 kB / 412.9 MB, free: 80 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002724/0.02197, allocations: 366.8 kB / 413.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02197, allocations: 4 kB / 413.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002933/0.02226, allocations: 127.6 kB / 413.4 MB, free: 15.59 MB / 394.7 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.001609/0.02387, allocations: 1.589 MB / 415 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004992/0.02437, allocations: 462.8 kB / 415.5 MB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.02437, allocations: 0 / 415.5 MB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.02456, allocations: 240.9 kB / 415.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.02483, allocations: 87.28 kB / 415.8 MB, free: 13.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.0287, allocations: 4.575 MB / 420.4 MB, free: 8.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.02887, allocations: 263.7 kB / 420.6 MB, free: 8.242 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.02901, allocations: 75.3 kB / 420.7 MB, free: 8.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.02917, allocations: 180.4 kB / 420.9 MB, free: 7.992 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02917, allocations: 0 / 420.9 MB, free: 7.992 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.05475, allocations: 10.79 MB / 431.7 MB, free: 13.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.171/7.226, allocations: 6.375 kB / 431.7 MB, free: 13.28 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.26632987614721] Failed to read output from testmodel.py, exit status != 0: 7.3377955332398415 7.505407444 7.335034648 Calling exit ...