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.0009856/0.0009856, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009901/0.0009901, allocations: 169.7 kB / 23.27 MB, free: 1.219 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 1.004/1.004, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.04813/0.04813, allocations: 8.622 MB / 268.9 MB, free: 4.762 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.753e-06/1.753e-06, allocations: 0 / 341.3 MB, free: 9.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.593e-05, allocations: 2.312 kB / 341.3 MB, free: 9.152 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.001933/0.001949, allocations: 1.749 MB / 343.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007483/0.002697, allocations: 0.6191 MB / 343.7 MB, free: 6.766 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.308e-05/0.00278, allocations: 7.938 kB / 343.7 MB, free: 6.758 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.002882, allocations: 15.8 kB / 343.7 MB, free: 6.742 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.006e-05/0.002942, allocations: 35.66 kB / 343.7 MB, free: 6.707 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.003162, allocations: 75.72 kB / 343.8 MB, free: 6.633 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.00333, allocations: 183.4 kB / 344 MB, free: 6.453 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.00342, allocations: 21.8 kB / 344 MB, free: 6.434 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.003596, allocations: 107.8 kB / 344.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.003668, allocations: 59.8 kB / 344.2 MB, free: 6.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.003689, allocations: 15.94 kB / 344.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.882e-05/0.003728, allocations: 12 kB / 344.2 MB, free: 6.242 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.003756, allocations: 35.84 kB / 344.2 MB, free: 6.207 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.003798, allocations: 39.89 kB / 344.3 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.003942, allocations: 115.5 kB / 344.4 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003943, allocations: 0 / 344.4 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.003944, allocations: 0 / 344.4 MB, free: 6.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.003947, allocations: 0 / 344.4 MB, free: 6.055 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005154/0.004463, allocations: 0.5326 MB / 344.9 MB, free: 5.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.004496, allocations: 8.031 kB / 344.9 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.004598, allocations: 36.84 kB / 345 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.004786, allocations: 208.9 kB / 345.2 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/0.004847, allocations: 115.4 kB / 345.3 MB, free: 5.066 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.00486, allocations: 12.38 kB / 345.3 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.005011, allocations: 102.9 kB / 345.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.005017, allocations: 4.125 kB / 345.4 MB, free: 4.941 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.005027, allocations: 4.125 kB / 345.4 MB, free: 4.938 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.005031, allocations: 4 kB / 345.4 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.058e-05/0.005082, allocations: 30.31 kB / 345.4 MB, free: 4.906 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.00543, allocations: 348.1 kB / 345.8 MB, free: 4.539 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.024e-05/0.00551, allocations: 58.98 kB / 345.8 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.005537, allocations: 19.67 kB / 345.9 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.005552, allocations: 0 / 345.9 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.00566, allocations: 89.14 kB / 345.9 MB, free: 4.344 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.005661, allocations: 0 / 345.9 MB, free: 4.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001891/0.00585, allocations: 105.7 kB / 346.1 MB, free: 4.234 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.005878, allocations: 55.34 kB / 346.1 MB, free: 4.168 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.006313, allocations: 243.7 kB / 346.3 MB, free: 3.914 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.00633, allocations: 29.7 kB / 346.4 MB, free: 3.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.006408, allocations: 175 kB / 346.5 MB, free: 3.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.006425, allocations: 27.83 kB / 346.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.006469, allocations: 39.3 kB / 346.6 MB, free: 3.629 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.006577, allocations: 0.5 MB / 347.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.006618, allocations: 45.69 kB / 347.2 MB, free: 3.066 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.006669, allocations: 80.42 kB / 347.2 MB, free: 2.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.699e-05/0.006746, allocations: 96.38 kB / 347.3 MB, free: 2.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006748, allocations: 0 / 347.3 MB, free: 2.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001419/0.00689, allocations: 180.8 kB / 347.5 MB, free: 2.652 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.006913, allocations: 29.7 kB / 347.5 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.006917, allocations: 3.938 kB / 347.5 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.006928, allocations: 4 kB / 347.5 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.007011, allocations: 23.98 kB / 347.6 MB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.007014, allocations: 0 / 347.6 MB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.007083, allocations: 27.91 kB / 347.6 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.007092, allocations: 7.938 kB / 347.6 MB, free: 2.551 MB / 314.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 7.242e-05/0.007165, allocations: 172.6 kB / 347.8 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.00718, allocations: 15.91 kB / 347.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.007208, allocations: 21.45 kB / 347.8 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.00721, allocations: 4 kB / 347.8 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.007212, allocations: 0 / 347.8 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.007214, allocations: 0 / 347.8 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.259e-05/0.007307, allocations: 137.1 kB / 347.9 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.007308, allocations: 0 / 347.9 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.007349, allocations: 15.98 kB / 348 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.00735, allocations: 4 kB / 348 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.007358, allocations: 7.984 kB / 348 MB, free: 2.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.00736, allocations: 4 kB / 348 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007361, allocations: 0 / 348 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.007478, allocations: 136.2 kB / 348.1 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.007491, allocations: 15.84 kB / 348.1 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.007506, allocations: 4 kB / 348.1 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.133e-05/0.007557, allocations: 19.91 kB / 348.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.007602, allocations: 19.97 kB / 348.2 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.007609, allocations: 7.984 kB / 348.2 MB, free: 1.922 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.667e-05/0.007665, allocations: 171 kB / 348.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007665, allocations: 0 / 348.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.007803, allocations: 24 kB / 348.4 MB, free: 1.73 MB / 314.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 7.046e-05/0.007873, allocations: 103.2 kB / 348.5 MB, free: 1.621 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.008024, allocations: 144.1 kB / 348.6 MB, free: 1.461 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.008026, allocations: 0 / 348.6 MB, free: 1.461 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.751e-05/0.008073, allocations: 39.59 kB / 348.6 MB, free: 1.418 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.008242, allocations: 32.11 kB / 348.7 MB, free: 1.387 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.008732, allocations: 253.7 kB / 348.9 MB, free: 1.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.522e-05/0.008767, allocations: 71.83 kB / 349 MB, free: 1.023 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.408e-05/0.008811, allocations: 9.156 kB / 349 MB, free: 1.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.008903, allocations: 102.2 kB / 349.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.008904, allocations: 0 / 349.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of Templates: time 0.003625/0.01253, allocations: 2.073 MB / 351.2 MB, free: 14.87 MB / 330.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.919874391052872]