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.0008914/0.0008914, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009407/0.0009407, allocations: 177 kB / 23.36 MB, free: 1.129 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.8791/0.8791, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.03604/0.03604, allocations: 8.622 MB / 268.9 MB, free: 4.809 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.493e-06/1.493e-06, allocations: 0 / 288.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.867e-05, allocations: 2.312 kB / 288.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.108/0.108, allocations: 1.755 MB / 289.8 MB, free: 18.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009132/0.1089, allocations: 0.6162 MB / 290.4 MB, free: 18.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.798e-05/0.109, allocations: 8.656 kB / 290.4 MB, free: 18.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1091, allocations: 16.88 kB / 290.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.171e-05/0.1092, allocations: 33.98 kB / 290.5 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1095, allocations: 81.36 kB / 290.6 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.1097, allocations: 186.8 kB / 290.8 MB, free: 18.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.967e-05/0.1097, allocations: 31.56 kB / 290.8 MB, free: 18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1099, allocations: 103.5 kB / 290.9 MB, free: 17.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.11, allocations: 54.88 kB / 290.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.11, allocations: 14.25 kB / 291 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.068e-05/0.1101, allocations: 18.53 kB / 291 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.1101, allocations: 32.33 kB / 291 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.1101, allocations: 45.27 kB / 291 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.1103, allocations: 117.7 kB / 291.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1103, allocations: 1.469 kB / 291.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1103, allocations: 1.156 kB / 291.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1103, allocations: 0 / 291.2 MB, free: 17.95 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.0004467/0.1107, allocations: 404.4 kB / 291.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.1108, allocations: 10.31 kB / 291.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.745e-05/0.1109, allocations: 29.22 kB / 291.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.111, allocations: 186.9 kB / 291.8 MB, free: 17.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.1111, allocations: 114.7 kB / 291.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.1111, allocations: 14.02 kB / 291.9 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1113, allocations: 108.1 kB / 292 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1113, allocations: 2.812 kB / 292 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1113, allocations: 8.625 kB / 292 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.1113, allocations: 2.469 kB / 292 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.074e-05/0.1113, allocations: 30.69 kB / 292.1 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.1116, allocations: 232 kB / 292.3 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.817e-05/0.1117, allocations: 44.33 kB / 292.3 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.1117, allocations: 17.94 kB / 292.3 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.1117, allocations: 3.062 kB / 292.3 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.1118, allocations: 80.05 kB / 292.4 MB, free: 17.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1118, allocations: 1.031 kB / 292.4 MB, free: 17.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.000144/0.112, allocations: 80.36 kB / 292.5 MB, free: 17.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.112, allocations: 54.5 kB / 292.6 MB, free: 16.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.1121, allocations: 191 kB / 292.7 MB, free: 16.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.1121, allocations: 29.64 kB / 292.8 MB, free: 16.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.1121, allocations: 113.4 kB / 292.9 MB, free: 16.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.1121, allocations: 26.45 kB / 292.9 MB, free: 16.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.1122, allocations: 37.23 kB / 292.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.944e-05/0.1122, allocations: 331.9 kB / 293.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.208e-05/0.1122, allocations: 39.64 kB / 293.3 MB, free: 16.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/0.1123, allocations: 68.3 kB / 293.4 MB, free: 16.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.341e-05/0.1123, allocations: 94.83 kB / 293.5 MB, free: 16.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1123, allocations: 1.594 kB / 293.5 MB, free: 16.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.957e-05/0.1124, allocations: 139.9 kB / 293.6 MB, free: 16.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1125, allocations: 38.22 kB / 293.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1125, allocations: 1.219 kB / 293.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1125, allocations: 2.094 kB / 293.6 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.1126, allocations: 28.06 kB / 293.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1126, allocations: 3.469 kB / 293.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.1126, allocations: 29.22 kB / 293.7 MB, free: 16.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1126, allocations: 4.422 kB / 293.7 MB, free: 16.03 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 4.753e-05/0.1127, allocations: 119.7 kB / 293.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.1127, allocations: 15.44 kB / 293.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.1127, allocations: 21.19 kB / 293.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1127, allocations: 3.125 kB / 293.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.1127, allocations: 0 / 293.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1127, allocations: 1.75 kB / 293.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.949e-05/0.1128, allocations: 108.7 kB / 294 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1128, allocations: 0.7031 kB / 294 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.1129, allocations: 20.58 kB / 294 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1129, allocations: 1.312 kB / 294 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1129, allocations: 1.875 kB / 294 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1129, allocations: 1.641 kB / 294 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1129, allocations: 1.031 kB / 294 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.509e-05/0.1129, allocations: 100.5 kB / 294.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.113, allocations: 13.59 kB / 294.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.113, allocations: 5.719 kB / 294.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.113, allocations: 18.83 kB / 294.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.1131, allocations: 15.8 kB / 294.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.1131, allocations: 8.312 kB / 294.2 MB, free: 15.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.645e-05/0.1131, allocations: 46.19 kB / 294.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1131, allocations: 1.125 kB / 294.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001188/0.1132, allocations: 35.2 kB / 294.2 MB, free: 15.71 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 6.427e-05/0.1133, allocations: 82.64 kB / 294.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.1134, allocations: 139.1 kB / 294.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1134, allocations: 2.906 kB / 294.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.1135, allocations: 25.3 kB / 294.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.1136, allocations: 33.53 kB / 294.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.114, allocations: 267 kB / 294.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.636e-05/0.114, allocations: 69.34 kB / 294.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.1141, allocations: 15.05 kB / 294.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.1141, allocations: 71.08 kB / 294.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1141, allocations: 0 / 294.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Templates: time 0.003446/0.1176, allocations: 1.871 MB / 296.8 MB, free: 15.11 MB / 266.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.535670171957463]