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.001167/0.001167, allocations: 89.64 kB / 19.4 MB, free: 0.5 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.001406/0.001406, allocations: 169.3 kB / 22.71 MB, free: 1.844 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.106/1.106, allocations: 177.1 MB / 203 MB, free: 5.648 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.04334/0.04334, allocations: 8.609 MB / 268.1 MB, free: 5 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 2.244e-06/2.244e-06, allocations: 0 / 340 MB, free: 8.793 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.696e-05, allocations: 2.312 kB / 340.1 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.00226/0.002287, allocations: 1.766 MB / 341.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.00337, allocations: 0.6115 MB / 342.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.00349, allocations: 3.938 kB / 342.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.003614, allocations: 11.81 kB / 342.4 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.00369, allocations: 39.66 kB / 342.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.004037, allocations: 83.7 kB / 342.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.004256, allocations: 195.3 kB / 342.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.004398, allocations: 25.78 kB / 342.8 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.004687, allocations: 99.78 kB / 342.9 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.004766, allocations: 51.8 kB / 342.9 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.004791, allocations: 12 kB / 342.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.09e-05/0.004842, allocations: 16 kB / 343 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.004872, allocations: 31.89 kB / 343 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.004932, allocations: 51.84 kB / 343 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.005123, allocations: 119.5 kB / 343.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.005125, allocations: 0 / 343.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005127, allocations: 0 / 343.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.005134, allocations: 0 / 343.2 MB, free: 5.672 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.0006653/0.005799, allocations: 0.5245 MB / 343.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.00584, allocations: 8.031 kB / 343.7 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.005985, allocations: 32.84 kB / 343.7 MB, free: 5.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.006223, allocations: 205 kB / 343.9 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.617e-05/0.006299, allocations: 115.4 kB / 344 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.006314, allocations: 4.375 kB / 344 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.006498, allocations: 102.1 kB / 344.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.006506, allocations: 192 / 344.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.006522, allocations: 12.12 kB / 344.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.006531, allocations: 4 kB / 344.2 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.006671, allocations: 63.94 kB / 344.2 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.007137, allocations: 379.4 kB / 344.6 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.007313, allocations: 83.02 kB / 344.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.007383, allocations: 43.59 kB / 344.7 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.0074, allocations: 3.984 kB / 344.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.007574, allocations: 108.9 kB / 344.8 MB, free: 3.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.007576, allocations: 0 / 344.8 MB, free: 3.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003456/0.007921, allocations: 165.6 kB / 345 MB, free: 3.672 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.007952, allocations: 55.41 kB / 345 MB, free: 3.605 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.008066, allocations: 251 kB / 345.3 MB, free: 3.344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.008082, allocations: 33.69 kB / 345.3 MB, free: 3.305 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.008146, allocations: 171.2 kB / 345.5 MB, free: 3.133 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.008163, allocations: 23.8 kB / 345.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.008218, allocations: 39.3 kB / 345.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.813e-05/0.008276, allocations: 0.5001 MB / 346 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.00837, allocations: 61.67 kB / 346.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.008464, allocations: 100.4 kB / 346.2 MB, free: 2.363 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.008617, allocations: 140.3 kB / 346.3 MB, free: 2.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.008619, allocations: 0 / 346.3 MB, free: 2.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002382/0.008858, allocations: 204.9 kB / 346.5 MB, free: 1.984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.008887, allocations: 37.64 kB / 346.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.008893, allocations: 0 / 346.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.008911, allocations: 8.094 kB / 346.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.748e-05/0.009008, allocations: 31.91 kB / 346.6 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.009016, allocations: 4 kB / 346.6 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.00909, allocations: 31.81 kB / 346.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.009101, allocations: 4 kB / 346.7 MB, free: 1.863 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 8.741e-05/0.009188, allocations: 161.1 kB / 346.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.009215, allocations: 19.89 kB / 346.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.009249, allocations: 17.47 kB / 346.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.009252, allocations: 4 kB / 346.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.009256, allocations: 4 kB / 346.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.00926, allocations: 7.875 kB / 346.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.009368, allocations: 160.6 kB / 347 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.00937, allocations: 0 / 347 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.009419, allocations: 19.98 kB / 347 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.009422, allocations: 4 kB / 347 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.009431, allocations: 0 / 347 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009433, allocations: 0 / 347 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009434, allocations: 0 / 347 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.00964, allocations: 176.2 kB / 347.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.009654, allocations: 11.91 kB / 347.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.009675, allocations: 4 kB / 347.2 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.078e-05/0.009725, allocations: 19.97 kB / 347.2 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.009788, allocations: 15.97 kB / 347.3 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.009796, allocations: 8 kB / 347.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.009847, allocations: 163.1 kB / 347.4 MB, free: 1.016 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009847, allocations: 0 / 347.4 MB, free: 1.016 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001598/0.01001, allocations: 39.83 kB / 347.5 MB, free: 0.9766 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 8.708e-05/0.01009, allocations: 99.25 kB / 347.6 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.01034, allocations: 184.6 kB / 347.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01034, allocations: 0 / 347.7 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.155e-05/0.01043, allocations: 55.64 kB / 347.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.01064, allocations: 34.69 kB / 347.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.01126, allocations: 265.5 kB / 348.1 MB, free: 292 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.663e-05/0.01129, allocations: 67.84 kB / 348.2 MB, free: 204 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.332e-05/0.01134, allocations: 17.12 kB / 348.2 MB, free: 188 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.01139, allocations: 20.5 kB / 348.2 MB, free: 168 kB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.01139, allocations: 0 / 348.2 MB, free: 168 kB / 266.7 MB Notification: Performance of Templates: time 0.004218/0.01561, allocations: 1.931 MB / 350.1 MB, free: 14.27 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: 3.2535474440082908]