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.001447/0.001447, allocations: 92.2 kB / 20.19 MB, free: 4.367 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.001425/0.001425, allocations: 173 kB / 23.49 MB, free: 1.062 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.9876/0.9876, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.03757/0.03757, allocations: 8.617 MB / 268.9 MB, free: 4.973 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.433e-06/1.433e-06, allocations: 0 / 340.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.696e-05, allocations: 6.25 kB / 340.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.001624/0.001641, allocations: 1.754 MB / 342.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006723/0.002313, allocations: 0.6115 MB / 343.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.002393, allocations: 7.938 kB / 343.3 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.746e-05/0.002491, allocations: 23.73 kB / 343.3 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.574e-05/0.002546, allocations: 27.72 kB / 343.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.002766, allocations: 87.64 kB / 343.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.002924, allocations: 179.4 kB / 343.6 MB, free: 6.012 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.003023, allocations: 29.77 kB / 343.6 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.00318, allocations: 107.7 kB / 343.7 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.003242, allocations: 55.8 kB / 343.8 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.003262, allocations: 16 kB / 343.8 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.038e-05/0.003303, allocations: 16 kB / 343.8 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.003328, allocations: 31.89 kB / 343.8 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.003373, allocations: 43.84 kB / 343.9 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.003524, allocations: 111.5 kB / 344 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003525, allocations: 0 / 344 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003526, allocations: 0 / 344 MB, free: 5.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.00353, allocations: 0 / 344 MB, free: 5.609 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.0005265/0.004056, allocations: 0.5248 MB / 344.5 MB, free: 5.043 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.004089, allocations: 16.03 kB / 344.5 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.004207, allocations: 32.83 kB / 344.6 MB, free: 4.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.004391, allocations: 197 kB / 344.7 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.004445, allocations: 111.4 kB / 344.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.00446, allocations: 12.38 kB / 344.9 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.004621, allocations: 114.8 kB / 345 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.004627, allocations: 192 / 345 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.004641, allocations: 12.11 kB / 345 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.004648, allocations: 4 kB / 345 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.146e-05/0.00473, allocations: 31.92 kB / 345 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.005103, allocations: 387.4 kB / 345.4 MB, free: 4.047 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.005195, allocations: 54.97 kB / 345.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.005231, allocations: 23.69 kB / 345.5 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.005244, allocations: 0 / 345.5 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.005353, allocations: 96.94 kB / 345.6 MB, free: 3.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.005355, allocations: 0 / 345.6 MB, free: 3.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002066/0.005561, allocations: 117.6 kB / 345.7 MB, free: 3.723 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.005582, allocations: 59.34 kB / 345.8 MB, free: 3.652 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.388e-05/0.005676, allocations: 239.1 kB / 346 MB, free: 3.402 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.005693, allocations: 33.7 kB / 346 MB, free: 3.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.005749, allocations: 175 kB / 346.2 MB, free: 3.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.357e-05/0.005762, allocations: 19.86 kB / 346.2 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.005801, allocations: 35.36 kB / 346.2 MB, free: 3.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.005844, allocations: 0.504 MB / 346.7 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.005891, allocations: 45.7 kB / 346.8 MB, free: 2.559 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.141e-05/0.005942, allocations: 88.42 kB / 346.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.462e-05/0.006017, allocations: 104.4 kB / 347 MB, free: 2.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.006019, allocations: 0 / 347 MB, free: 2.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001415/0.006161, allocations: 180.8 kB / 347.2 MB, free: 2.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.00618, allocations: 33.8 kB / 347.2 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006184, allocations: 4 kB / 347.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.006197, allocations: 4 kB / 347.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.00629, allocations: 23.97 kB / 347.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.006295, allocations: 4 kB / 347.2 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.633e-05/0.006362, allocations: 27.86 kB / 347.3 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.00637, allocations: 4 kB / 347.3 MB, free: 2.023 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 5.154e-05/0.006422, allocations: 164.5 kB / 347.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.006438, allocations: 23.89 kB / 347.4 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.006464, allocations: 17.47 kB / 347.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.006465, allocations: 0 / 347.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.006468, allocations: 4 kB / 347.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.006472, allocations: 3.938 kB / 347.5 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.698e-05/0.006549, allocations: 160.7 kB / 347.6 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.00655, allocations: 4 kB / 347.6 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.006589, allocations: 15.98 kB / 347.6 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006591, allocations: 4 kB / 347.6 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.0066, allocations: 0 / 347.6 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006601, allocations: 0 / 347.6 MB, free: 1.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006602, allocations: 4 kB / 347.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.006724, allocations: 140.2 kB / 347.8 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.006736, allocations: 19.83 kB / 347.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.006753, allocations: 4 kB / 347.8 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.253e-05/0.006805, allocations: 15.98 kB / 347.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.006858, allocations: 15.97 kB / 347.8 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-06/0.006863, allocations: 0 / 347.8 MB, free: 1.371 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.554e-05/0.006909, allocations: 171.1 kB / 348 MB, free: 1.203 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006909, allocations: 0 / 348 MB, free: 1.203 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001338/0.007043, allocations: 31.89 kB / 348 MB, free: 1.172 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 5.428e-05/0.007097, allocations: 111.2 kB / 348.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.007246, allocations: 148.6 kB / 348.3 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.007247, allocations: 0 / 348.3 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.908e-05/0.007296, allocations: 39.61 kB / 348.3 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.007461, allocations: 32.81 kB / 348.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.007951, allocations: 269.8 kB / 348.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.509e-05/0.007976, allocations: 67.83 kB / 348.7 MB, free: 440 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.299e-05/0.008019, allocations: 17.12 kB / 348.7 MB, free: 424 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.00806, allocations: 16.5 kB / 348.7 MB, free: 408 kB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.00806, allocations: 4 kB / 348.7 MB, free: 404 kB / 266.7 MB Notification: Performance of Templates: time 0.003224/0.01128, allocations: 1.931 MB / 350.7 MB, free: 14.5 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: 2.8236024719662964]