Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.001223/0.001223, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001518/0.001518, allocations: 177.4 kB / 23.36 MB, free: 1.125 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.9439/0.9439, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.0376/0.0376, allocations: 8.612 MB / 268.9 MB, free: 4.789 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.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 288.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.424e-05, allocations: 2.312 kB / 288.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.1233/0.1233, allocations: 1.864 MB / 290 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.1242, allocations: 0.6499 MB / 290.6 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.352e-05/0.1243, allocations: 13.09 kB / 290.6 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.1244, allocations: 22.33 kB / 290.7 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.1245, allocations: 37.91 kB / 290.7 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1247, allocations: 110 kB / 290.8 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.1249, allocations: 234.4 kB / 291 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.125, allocations: 41.77 kB / 291.1 MB, free: 19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1252, allocations: 131.5 kB / 291.2 MB, free: 18.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.1253, allocations: 72 kB / 291.3 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.1253, allocations: 18.31 kB / 291.3 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.194e-05/0.1253, allocations: 16.88 kB / 291.3 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.1254, allocations: 43.78 kB / 291.3 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.1254, allocations: 65.14 kB / 291.4 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1256, allocations: 151 kB / 291.6 MB, free: 18.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1256, allocations: 0 / 291.6 MB, free: 18.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1256, allocations: 0 / 291.6 MB, free: 18.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1256, allocations: 1.312 kB / 291.6 MB, free: 18.91 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005352/0.1261, allocations: 468.5 kB / 292 MB, free: 18.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1261, allocations: 9.438 kB / 292 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.1262, allocations: 29.94 kB / 292.1 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1264, allocations: 229.2 kB / 292.3 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.1265, allocations: 98.89 kB / 292.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.1265, allocations: 22.39 kB / 292.4 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1267, allocations: 144.3 kB / 292.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1267, allocations: 192 / 292.5 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1267, allocations: 12.16 kB / 292.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1267, allocations: 3.312 kB / 292.6 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.544e-05/0.1268, allocations: 35.05 kB / 292.6 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.1272, allocations: 329 kB / 292.9 MB, free: 18.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.276e-05/0.1273, allocations: 50.8 kB / 293 MB, free: 18.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.1274, allocations: 26.56 kB / 293 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.1274, allocations: 1.797 kB / 293 MB, free: 18.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.1275, allocations: 95.52 kB / 293.1 MB, free: 17.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.1275, allocations: 5.375 kB / 293.1 MB, free: 17.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001732/0.1277, allocations: 101.8 kB / 293.2 MB, free: 17.94 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.923e-05/0.1277, allocations: 58.39 kB / 293.2 MB, free: 17.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.1278, allocations: 202 kB / 293.4 MB, free: 17.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1278, allocations: 28.52 kB / 293.5 MB, free: 17.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.1278, allocations: 137.3 kB / 293.6 MB, free: 17.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1279, allocations: 39.55 kB / 293.6 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.1279, allocations: 40.56 kB / 293.7 MB, free: 17.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.218e-05/0.1279, allocations: 335.6 kB / 294 MB, free: 17.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.128, allocations: 45.95 kB / 294 MB, free: 17.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.945e-05/0.128, allocations: 77.95 kB / 294.1 MB, free: 17.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.575e-05/0.1281, allocations: 108.9 kB / 294.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1281, allocations: 0 / 294.2 MB, free: 17.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000132/0.1283, allocations: 169 kB / 294.4 MB, free: 16.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1283, allocations: 33.44 kB / 294.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1283, allocations: 9.562 kB / 294.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1283, allocations: 2.031 kB / 294.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.1286, allocations: 84.53 kB / 294.5 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.1286, allocations: 2.406 kB / 294.5 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.1287, allocations: 26.55 kB / 294.6 MB, free: 16.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1287, allocations: 9.578 kB / 294.6 MB, free: 16.89 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,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.308e-05/0.1288, allocations: 119.8 kB / 294.7 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.1288, allocations: 12.52 kB / 294.7 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.1288, allocations: 30.44 kB / 294.7 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1288, allocations: 2.219 kB / 294.7 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1288, allocations: 0 / 294.7 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1288, allocations: 1.391 kB / 294.7 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.1289, allocations: 130.9 kB / 294.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1289, allocations: 2.547 kB / 294.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.1293, allocations: 69.98 kB / 294.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1293, allocations: 1.75 kB / 294.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1293, allocations: 8.312 kB / 294.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1293, allocations: 1.25 kB / 294.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1293, allocations: 6.344 kB / 294.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.1295, allocations: 137.7 kB / 295.1 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.1295, allocations: 18.14 kB / 295.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1295, allocations: 2.844 kB / 295.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.1296, allocations: 17.66 kB / 295.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.1296, allocations: 26.41 kB / 295.1 MB, free: 16.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.1296, allocations: 3.609 kB / 295.1 MB, free: 16.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.069e-05/0.1297, allocations: 62.92 kB / 295.2 MB, free: 16.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1297, allocations: 1.562 kB / 295.2 MB, free: 16.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001271/0.1298, allocations: 40.08 kB / 295.2 MB, free: 16.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12): * Single equations (assignments): 9 * 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.591e-05/0.1299, allocations: 80.19 kB / 295.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.13, allocations: 158.2 kB / 295.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.13, allocations: 1.438 kB / 295.5 MB, free: 16.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/0.1301, allocations: 41 kB / 295.5 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.1302, allocations: 31.56 kB / 295.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.1306, allocations: 361.1 kB / 295.9 MB, free: 16.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.1306, allocations: 79.16 kB / 296 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.591e-05/0.1307, allocations: 25.7 kB / 296 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.844e-05/0.1308, allocations: 80.92 kB / 296.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1308, allocations: 0 / 296.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of Templates: time 0.004095/0.1349, allocations: 2.057 MB / 298.1 MB, free: 15.76 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.620822213124484]