Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.001429/0.001429, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001799/0.001799, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9769/0.9769, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.05867/0.05867, allocations: 8.615 MB / 268.6 MB, free: 4.922 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.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 340.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.31e-05, allocations: 6.25 kB / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.001835/0.001858, allocations: 1.766 MB / 342.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.002681, allocations: 0.6192 MB / 343.3 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.002792, allocations: 7.938 kB / 343.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.002906, allocations: 11.81 kB / 343.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.744e-05/0.002973, allocations: 35.66 kB / 343.3 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.003268, allocations: 79.7 kB / 343.4 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.003443, allocations: 187.4 kB / 343.6 MB, free: 5.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003546, allocations: 25.78 kB / 343.6 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.003743, allocations: 103.8 kB / 343.7 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.003815, allocations: 55.8 kB / 343.8 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.003842, allocations: 12 kB / 343.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.537e-05/0.003887, allocations: 12 kB / 343.8 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.003913, allocations: 35.83 kB / 343.8 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.003959, allocations: 43.91 kB / 343.9 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.004119, allocations: 119.5 kB / 344 MB, free: 5.277 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.004122, allocations: 0 / 344 MB, free: 5.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004123, allocations: 0 / 344 MB, free: 5.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.004128, allocations: 0 / 344 MB, free: 5.277 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005843/0.004712, allocations: 0.5326 MB / 344.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.004756, allocations: 8.031 kB / 344.5 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.004945, allocations: 28.84 kB / 344.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.00515, allocations: 201 kB / 344.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.005209, allocations: 115.4 kB / 344.9 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.005224, allocations: 8.375 kB / 344.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.005402, allocations: 114.8 kB / 345 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.00541, allocations: 4.125 kB / 345 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.005424, allocations: 12.11 kB / 345 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.005431, allocations: 4 kB / 345 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.786e-05/0.005499, allocations: 31.97 kB / 345 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.005906, allocations: 383.4 kB / 345.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.882e-05/0.006005, allocations: 54.98 kB / 345.5 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.006041, allocations: 23.67 kB / 345.5 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.006056, allocations: 4 kB / 345.5 MB, free: 3.617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.006173, allocations: 89 kB / 345.6 MB, free: 3.516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.006175, allocations: 0 / 345.6 MB, free: 3.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002128/0.006388, allocations: 117.6 kB / 345.7 MB, free: 3.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.006411, allocations: 55.41 kB / 345.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.006504, allocations: 243.1 kB / 346 MB, free: 3.074 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.006516, allocations: 25.7 kB / 346 MB, free: 3.043 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.213e-05/0.006568, allocations: 183.1 kB / 346.2 MB, free: 2.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.006583, allocations: 27.84 kB / 346.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.006625, allocations: 39.36 kB / 346.2 MB, free: 2.785 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.006667, allocations: 0.4923 MB / 346.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.157e-05/0.006719, allocations: 45.69 kB / 346.8 MB, free: 2.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-05/0.006775, allocations: 91.31 kB / 346.9 MB, free: 2.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.006854, allocations: 100.4 kB / 347 MB, free: 2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.006857, allocations: 0 / 347 MB, free: 2 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001494/0.007006, allocations: 188.8 kB / 347.2 MB, free: 1.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.007028, allocations: 33.7 kB / 347.2 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.007033, allocations: 4 kB / 347.2 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.007046, allocations: 0 / 347.2 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.007142, allocations: 27.92 kB / 347.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.007147, allocations: 0 / 347.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.909e-05/0.007216, allocations: 31.84 kB / 347.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.007225, allocations: 4 kB / 347.3 MB, free: 1.691 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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 5.965e-05/0.007285, allocations: 169.2 kB / 347.4 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.007302, allocations: 15.91 kB / 347.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.00733, allocations: 21.45 kB / 347.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007332, allocations: 3.938 kB / 347.5 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.007336, allocations: 0 / 347.5 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.00734, allocations: 3.938 kB / 347.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.746e-05/0.007427, allocations: 160.6 kB / 347.6 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007429, allocations: 0 / 347.6 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.007471, allocations: 15.98 kB / 347.6 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.007474, allocations: 4 kB / 347.6 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.007484, allocations: 7.984 kB / 347.6 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.007486, allocations: 4 kB / 347.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007487, allocations: 0 / 347.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.007613, allocations: 136.2 kB / 347.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.007627, allocations: 15.84 kB / 347.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.007645, allocations: 4 kB / 347.8 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.007699, allocations: 23.91 kB / 347.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.007756, allocations: 15.97 kB / 347.8 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.007763, allocations: 4 kB / 347.8 MB, free: 1.031 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.00781, allocations: 171.1 kB / 348 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00781, allocations: 0 / 348 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001464/0.007956, allocations: 31.89 kB / 348 MB, free: 0.832 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 6.978e-05/0.008026, allocations: 103.2 kB / 348.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.008187, allocations: 152.7 kB / 348.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008189, allocations: 0 / 348.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.008239, allocations: 35.67 kB / 348.3 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.008413, allocations: 34.67 kB / 348.4 MB, free: 488 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.008961, allocations: 265.5 kB / 348.6 MB, free: 192 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.402e-05/0.008985, allocations: 67.84 kB / 348.7 MB, free: 104 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.757e-05/0.009033, allocations: 17.14 kB / 348.7 MB, free: 88 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.009079, allocations: 24.48 kB / 348.7 MB, free: 64 kB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.00908, allocations: 0 / 348.7 MB, free: 64 kB / 266.7 MB Notification: Performance of Templates: time 0.003789/0.01287, allocations: 2.053 MB / 350.8 MB, free: 14.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8602177598513663]