Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.00114/0.00114, allocations: 81.17 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.001996/0.001996, allocations: 169 kB / 23.27 MB, free: 1.227 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.075/1.075, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.06351/0.06351, allocations: 8.617 MB / 268.9 MB, free: 4.773 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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 341.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.798e-05, allocations: 9.125 kB / 341.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.005143/0.005161, allocations: 1.778 MB / 343.1 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007438/0.005905, allocations: 0.6077 MB / 343.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.005996, allocations: 7.938 kB / 343.7 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.877e-05/0.006094, allocations: 19.73 kB / 343.7 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.017e-05/0.006155, allocations: 35.66 kB / 343.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.006355, allocations: 99.73 kB / 343.9 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.006531, allocations: 207.3 kB / 344.1 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.006643, allocations: 29.72 kB / 344.1 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.006763, allocations: 119.6 kB / 344.2 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.836e-05/0.006852, allocations: 63.83 kB / 344.3 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.006883, allocations: 19.94 kB / 344.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.006903, allocations: 16 kB / 344.3 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.006943, allocations: 35.89 kB / 344.4 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.006998, allocations: 51.84 kB / 344.4 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.007177, allocations: 139.4 kB / 344.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.007179, allocations: 0 / 344.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00718, allocations: 4 kB / 344.5 MB, free: 4.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.007185, allocations: 0 / 344.5 MB, free: 4.875 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005776/0.007762, allocations: 0.585 MB / 345.1 MB, free: 4.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.007796, allocations: 11.97 kB / 345.1 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.007843, allocations: 32.73 kB / 345.2 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.008012, allocations: 212.8 kB / 345.4 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.008046, allocations: 63.97 kB / 345.4 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.00807, allocations: 20.34 kB / 345.5 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.008256, allocations: 165.8 kB / 345.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.008263, allocations: 192 / 345.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.008276, allocations: 12.12 kB / 345.6 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.008281, allocations: 0 / 345.6 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.703e-05/0.008338, allocations: 40.72 kB / 345.7 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.008752, allocations: 0.6345 MB / 346.3 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.44e-05/0.008836, allocations: 55.03 kB / 346.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.008867, allocations: 23.67 kB / 346.4 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.00888, allocations: 4 kB / 346.4 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.009012, allocations: 120.3 kB / 346.5 MB, free: 2.738 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.009013, allocations: 0 / 346.5 MB, free: 2.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001949/0.009208, allocations: 129.5 kB / 346.6 MB, free: 2.605 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.009228, allocations: 59.41 kB / 346.7 MB, free: 2.535 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.009316, allocations: 246.6 kB / 346.9 MB, free: 2.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.009329, allocations: 37.69 kB / 347 MB, free: 2.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.009383, allocations: 179 kB / 347.2 MB, free: 2.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.009404, allocations: 47.66 kB / 347.2 MB, free: 2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.00945, allocations: 47.34 kB / 347.2 MB, free: 1.945 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.009496, allocations: 0.5078 MB / 347.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.00954, allocations: 83.38 kB / 347.8 MB, free: 1.332 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/0.009597, allocations: 152.4 kB / 348 MB, free: 1.145 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.164e-05/0.009689, allocations: 171.8 kB / 348.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.009691, allocations: 4 kB / 348.2 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001789/0.00987, allocations: 280.2 kB / 348.4 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.009892, allocations: 63.39 kB / 348.5 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.009898, allocations: 4 kB / 348.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.009911, allocations: 0 / 348.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.01009, allocations: 59.91 kB / 348.6 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.0101, allocations: 7.938 kB / 348.6 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.929e-05/0.01019, allocations: 39.86 kB / 348.6 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.0102, allocations: 8.125 kB / 348.6 MB, free: 448 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,I.TS_in,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.745e-05/0.01025, allocations: 168.5 kB / 348.8 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.01027, allocations: 27.84 kB / 348.8 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.0103, allocations: 21.47 kB / 348.8 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.0103, allocations: 0 / 348.8 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.0103, allocations: 0 / 348.8 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01031, allocations: 7.922 kB / 348.8 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.514e-05/0.01039, allocations: 145.1 kB / 349 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01039, allocations: 0 / 349 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.01057, allocations: 44.02 kB / 349 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.01057, allocations: 0 / 349 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.01058, allocations: 11.94 kB / 349 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01058, allocations: 4 kB / 349 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01059, allocations: 0 / 349 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.0108, allocations: 184.1 kB / 349.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.01082, allocations: 15.91 kB / 349.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.01084, allocations: 3.984 kB / 349.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.01091, allocations: 28.02 kB / 349.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.01097, allocations: 19.95 kB / 349.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01098, allocations: 11.98 kB / 349.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.79e-05/0.01105, allocations: 169.4 kB / 349.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01105, allocations: 0 / 349.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.0112, allocations: 32 kB / 349.5 MB, free: 15.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.865e-05/0.01128, allocations: 114.3 kB / 349.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.01148, allocations: 266.5 kB / 349.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01148, allocations: 3.938 kB / 349.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.163e-05/0.01154, allocations: 47.47 kB / 349.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.01172, allocations: 34.41 kB / 349.9 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004273/0.01215, allocations: 314.9 kB / 350.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.0122, allocations: 75.98 kB / 350.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.326e-05/0.01226, allocations: 17.48 kB / 350.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.01238, allocations: 102.2 kB / 350.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01238, allocations: 0 / 350.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of Templates: time 0.004292/0.01667, allocations: 2.84 MB / 353.3 MB, free: 11.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8436399288475513]