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.002473/0.002473, allocations: 85.48 kB / 19.44 MB, free: 336 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.002995/0.002995, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.533/1.533, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.07461/0.07461, allocations: 8.609 MB / 268.2 MB, free: 4.941 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.393e-06/1.393e-06, allocations: 0 / 340.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.199e-05, allocations: 6.25 kB / 340.2 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002193/0.002215, allocations: 1.736 MB / 341.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008453/0.003061, allocations: 0.596 MB / 342.5 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.003166, allocations: 11.88 kB / 342.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.003277, allocations: 19.73 kB / 342.5 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.003348, allocations: 35.72 kB / 342.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.00359, allocations: 79.66 kB / 342.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.003767, allocations: 187.4 kB / 342.8 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.00386, allocations: 21.78 kB / 342.8 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.004068, allocations: 107.7 kB / 342.9 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.004161, allocations: 59.8 kB / 343 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.004192, allocations: 12 kB / 343 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.745e-05/0.004239, allocations: 16 kB / 343 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.004269, allocations: 27.91 kB / 343.1 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.004321, allocations: 47.83 kB / 343.1 MB, free: 5.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.004498, allocations: 159.4 kB / 343.3 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004501, allocations: 0 / 343.3 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004501, allocations: 0 / 343.3 MB, free: 5.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004505, allocations: 0 / 343.3 MB, free: 5.621 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.0007161/0.005222, allocations: 0.5284 MB / 343.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.005256, allocations: 8.031 kB / 343.8 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.005416, allocations: 40.83 kB / 343.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.005658, allocations: 197.9 kB / 344 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.005721, allocations: 115.4 kB / 344.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.00574, allocations: 8.375 kB / 344.1 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.006006, allocations: 114.1 kB / 344.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.006017, allocations: 8.172 kB / 344.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.006032, allocations: 8.125 kB / 344.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.006038, allocations: 7.984 kB / 344.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.006338, allocations: 87.94 kB / 344.4 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.006889, allocations: 403.4 kB / 344.8 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.007186, allocations: 107 kB / 344.9 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.007329, allocations: 47.66 kB / 344.9 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.007354, allocations: 7.938 kB / 344.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.007589, allocations: 117 kB / 345 MB, free: 3.676 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.007591, allocations: 7.938 kB / 345 MB, free: 3.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005631/0.008154, allocations: 193.6 kB / 345.2 MB, free: 3.473 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.008174, allocations: 55.41 kB / 345.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.008308, allocations: 267.1 kB / 345.5 MB, free: 3.129 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.008323, allocations: 33.7 kB / 345.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/0.008378, allocations: 171.2 kB / 345.7 MB, free: 2.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.008399, allocations: 31.78 kB / 345.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.008458, allocations: 47.36 kB / 345.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.008515, allocations: 0.4962 MB / 346.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.008684, allocations: 81.61 kB / 346.4 MB, free: 2.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.008852, allocations: 123.5 kB / 346.5 MB, free: 2.098 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.009139, allocations: 156.3 kB / 346.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.009141, allocations: 0 / 346.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004068/0.009548, allocations: 240.8 kB / 346.9 MB, free: 1.668 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.009572, allocations: 37.8 kB / 346.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.009576, allocations: 0 / 346.9 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.009591, allocations: 4 kB / 346.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.009741, allocations: 31.92 kB / 347 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.009746, allocations: 0 / 347 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.009894, allocations: 27.81 kB / 347 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.009909, allocations: 7.984 kB / 347 MB, free: 1.555 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 6.953e-05/0.009979, allocations: 172.6 kB / 347.2 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.01001, allocations: 23.91 kB / 347.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.01005, allocations: 17.45 kB / 347.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.01005, allocations: 0 / 347.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01005, allocations: 0 / 347.2 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01005, allocations: 3.938 kB / 347.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.01017, allocations: 172.6 kB / 347.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01017, allocations: 0 / 347.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.01027, allocations: 19.92 kB / 347.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01027, allocations: 0 / 347.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.01029, allocations: 7.984 kB / 347.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01029, allocations: 0 / 347.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01029, allocations: 4 kB / 347.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.01065, allocations: 192.2 kB / 347.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.01067, allocations: 15.91 kB / 347.6 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.0107, allocations: 0 / 347.6 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.01083, allocations: 15.98 kB / 347.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.0109, allocations: 19.97 kB / 347.7 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.01091, allocations: 7.984 kB / 347.7 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.538e-05/0.01099, allocations: 175.2 kB / 347.8 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01099, allocations: 4 kB / 347.8 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000211/0.0112, allocations: 39.83 kB / 347.9 MB, free: 0.6133 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 7.195e-05/0.01127, allocations: 99.23 kB / 348 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.01167, allocations: 220.5 kB / 348.2 MB, free: 272 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01167, allocations: 4 kB / 348.2 MB, free: 268 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.01186, allocations: 64.11 kB / 348.3 MB, free: 200 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.01209, allocations: 44.53 kB / 348.3 MB, free: 156 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.01267, allocations: 269.5 kB / 348.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.0128, allocations: 99.42 kB / 348.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.049e-05/0.01287, allocations: 17.14 kB / 348.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.01293, allocations: 16.5 kB / 348.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01293, allocations: 0 / 348.7 MB, free: 15.71 MB / 282.7 MB Notification: Performance of Templates: time 0.005957/0.01889, allocations: 1.926 MB / 350.6 MB, free: 13.82 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: 4.528770814999007]