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.001054/0.001054, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009969/0.0009969, allocations: 169 kB / 23.27 MB, free: 1.223 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.9596/0.9596, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.04635/0.04635, allocations: 8.604 MB / 268.9 MB, free: 4.77 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: translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 341.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.962e-05, allocations: 2.312 kB / 341.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.003882/0.003911, allocations: 2.416 MB / 343.7 MB, free: 6.766 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.006592, allocations: 1.625 MB / 345.4 MB, free: 5.133 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.006835, allocations: 23.75 kB / 345.4 MB, free: 5.109 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.007506, allocations: 230.8 kB / 345.6 MB, free: 4.883 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.007869, allocations: 218.9 kB / 345.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.008529, allocations: 454.7 kB / 346.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007522/0.009281, allocations: 0.5855 MB / 346.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.009415, allocations: 65.09 kB / 346.9 MB, free: 3.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.009649, allocations: 291.3 kB / 347.2 MB, free: 3.285 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.009874, allocations: 211.4 kB / 347.4 MB, free: 3.078 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.009918, allocations: 32 kB / 347.4 MB, free: 3.047 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.0101, allocations: 151.8 kB / 347.6 MB, free: 2.898 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.01022, allocations: 147.4 kB / 347.7 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.256e-05/0.01031, allocations: 123.6 kB / 347.8 MB, free: 2.633 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.01084, allocations: 466.2 kB / 348.3 MB, free: 2.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01084, allocations: 0 / 348.3 MB, free: 2.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01084, allocations: 0 / 348.3 MB, free: 2.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.01085, allocations: 4 kB / 348.3 MB, free: 2.172 MB / 314.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.0009281/0.01178, allocations: 0.92 MB / 349.2 MB, free: 1.199 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.01182, allocations: 16.02 kB / 349.2 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.01192, allocations: 88.56 kB / 349.3 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.01233, allocations: 401.7 kB / 349.7 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.01239, allocations: 80.62 kB / 349.8 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.01244, allocations: 32.38 kB / 349.8 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.0128, allocations: 384.8 kB / 350.2 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.01282, allocations: 3.953 kB / 350.2 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.01284, allocations: 16 kB / 350.2 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.01285, allocations: 11.98 kB / 350.2 MB, free: 100 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.01303, allocations: 154.1 kB / 350.4 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.01461, allocations: 1.927 MB / 352.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.01482, allocations: 144.6 kB / 352.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.01488, allocations: 81.45 kB / 352.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.0149, allocations: 8.125 kB / 352.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.01506, allocations: 186 kB / 352.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.463e-06/0.01506, allocations: 0 / 352.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003523/0.01541, allocations: 376.8 kB / 353.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.01544, allocations: 85.11 kB / 353.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.01574, allocations: 498.2 kB / 353.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01576, allocations: 29.7 kB / 353.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.01591, allocations: 342.8 kB / 354 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.01597, allocations: 99.25 kB / 354.1 MB, free: 12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.702e-05/0.01605, allocations: 95.62 kB / 354.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.0162, allocations: 0.5468 MB / 354.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-05/0.01626, allocations: 70.53 kB / 354.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.01642, allocations: 308.4 kB / 355.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.01674, allocations: 476.3 kB / 355.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01674, allocations: 0 / 355.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003511/0.01709, allocations: 428.5 kB / 356 MB, free: 9.852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.01712, allocations: 37.69 kB / 356 MB, free: 9.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01712, allocations: 4 kB / 356.1 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.01713, allocations: 8 kB / 356.1 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.0174, allocations: 95.83 kB / 356.2 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.0174, allocations: 11.94 kB / 356.2 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.01751, allocations: 51.66 kB / 356.2 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.01753, allocations: 16 kB / 356.2 MB, free: 9.625 MB / 330.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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_track.ATreq_in,R_track.satHIGH_in,R_track.satLOW_in,R.TS_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.0001591/0.01768, allocations: 241.5 kB / 356.5 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.01774, allocations: 67.61 kB / 356.5 MB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003285/0.01806, allocations: 345.8 kB / 356.9 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01807, allocations: 4 kB / 356.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.01807, allocations: 0 / 356.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01807, allocations: 0 / 356.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.01828, allocations: 260.9 kB / 357.1 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01828, allocations: 0 / 357.1 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.01855, allocations: 63.97 kB / 357.2 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.01855, allocations: 7.938 kB / 357.2 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.01857, allocations: 11.98 kB / 357.2 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01858, allocations: 7.938 kB / 357.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01858, allocations: 0 / 357.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.01897, allocations: 465.1 kB / 357.7 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.01901, allocations: 51.55 kB / 357.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.01904, allocations: 8 kB / 357.7 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.0191, allocations: 15.92 kB / 357.7 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.01914, allocations: 19.97 kB / 357.8 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.01916, allocations: 15.98 kB / 357.8 MB, free: 7.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.01931, allocations: 286.7 kB / 358.1 MB, free: 7.695 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01931, allocations: 0 / 358.1 MB, free: 7.695 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.01955, allocations: 123.8 kB / 358.2 MB, free: 7.574 MB / 330.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.0007911/0.02034, allocations: 442.7 kB / 358.6 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005219/0.02087, allocations: 331 kB / 358.9 MB, free: 6.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.02087, allocations: 0 / 358.9 MB, free: 6.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.02098, allocations: 181 kB / 359.1 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.02122, allocations: 88.89 kB / 359.2 MB, free: 6.652 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.0225, allocations: 0.8108 MB / 360 MB, free: 5.805 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.15e-05/0.02259, allocations: 141.1 kB / 360.2 MB, free: 5.645 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.02274, allocations: 47.2 kB / 360.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.02293, allocations: 150.2 kB / 360.3 MB, free: 5.445 MB / 330.7 MB Notification: Performance of SimCode: time 1.803e-06/0.02294, allocations: 0 / 360.3 MB, free: 5.445 MB / 330.7 MB Notification: Performance of Templates: time 0.008469/0.0314, allocations: 5.188 MB / 365.5 MB, free: 320 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (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 & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0892120390199125]