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.0009071/0.0009071, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001019/0.001019, allocations: 181 kB / 23.36 MB, free: 1.133 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.03813/0.03813, allocations: 8.619 MB / 268.9 MB, free: 4.797 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.523e-06/1.523e-06, allocations: 0 / 288.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.038e-05, allocations: 2.312 kB / 288.1 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.1097/0.1097, allocations: 1.802 MB / 289.9 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008772/0.1106, allocations: 0.6224 MB / 290.5 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.1107, allocations: 6.094 kB / 290.5 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.1108, allocations: 15.95 kB / 290.6 MB, free: 19.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.1108, allocations: 33.73 kB / 290.6 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.1111, allocations: 82.92 kB / 290.7 MB, free: 19.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1112, allocations: 192.1 kB / 290.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.1113, allocations: 25.44 kB / 290.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1115, allocations: 104.5 kB / 291 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.1116, allocations: 52.03 kB / 291 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1116, allocations: 20.62 kB / 291.1 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.089e-05/0.1117, allocations: 15.62 kB / 291.1 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.1117, allocations: 32.69 kB / 291.1 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.1117, allocations: 44.89 kB / 291.1 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1119, allocations: 120.5 kB / 291.3 MB, free: 19.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.1119, allocations: 0 / 291.3 MB, free: 19.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1119, allocations: 2.156 kB / 291.3 MB, free: 19.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1119, allocations: 0 / 291.3 MB, free: 19.03 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.0004422/0.1123, allocations: 399.8 kB / 291.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.1124, allocations: 9.531 kB / 291.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.909e-05/0.1125, allocations: 30.39 kB / 291.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1126, allocations: 189.4 kB / 291.9 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.1127, allocations: 115.5 kB / 292 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.1127, allocations: 11.03 kB / 292 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1129, allocations: 111.6 kB / 292.1 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1129, allocations: 192 / 292.1 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1129, allocations: 7.625 kB / 292.1 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.1129, allocations: 2.438 kB / 292.1 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.377e-05/0.1129, allocations: 27.95 kB / 292.1 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.1132, allocations: 231.7 kB / 292.4 MB, free: 18.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.02e-05/0.1133, allocations: 47.19 kB / 292.4 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.1133, allocations: 16.09 kB / 292.4 MB, free: 18.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.1133, allocations: 2.312 kB / 292.4 MB, free: 18.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.1135, allocations: 79.14 kB / 292.5 MB, free: 18.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1135, allocations: 0 / 292.5 MB, free: 18.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001528/0.1136, allocations: 78.7 kB / 292.6 MB, free: 18.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.1136, allocations: 55.77 kB / 292.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1137, allocations: 189.1 kB / 292.8 MB, free: 17.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1138, allocations: 38.47 kB / 292.9 MB, free: 17.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.1138, allocations: 110.2 kB / 293 MB, free: 17.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.1138, allocations: 26.59 kB / 293 MB, free: 17.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.1139, allocations: 35.84 kB / 293 MB, free: 17.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.559e-05/0.1139, allocations: 331.7 kB / 293.4 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.721e-05/0.1139, allocations: 38.69 kB / 293.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.973e-05/0.114, allocations: 75.05 kB / 293.5 MB, free: 17.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.481e-05/0.114, allocations: 89.97 kB / 293.6 MB, free: 17.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.114, allocations: 0 / 293.6 MB, free: 17.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001141/0.1141, allocations: 143 kB / 293.7 MB, free: 17.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1142, allocations: 33.45 kB / 293.7 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1142, allocations: 1.125 kB / 293.7 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1142, allocations: 3.094 kB / 293.7 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.1143, allocations: 32.36 kB / 293.8 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1143, allocations: 2.75 kB / 293.8 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.1143, allocations: 26.02 kB / 293.8 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1144, allocations: 6.656 kB / 293.8 MB, free: 17.08 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.826e-05/0.1144, allocations: 122.9 kB / 293.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.1144, allocations: 15.19 kB / 293.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.1144, allocations: 23.16 kB / 294 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1144, allocations: 1.938 kB / 294 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.1144, allocations: 0 / 294 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1145, allocations: 1.719 kB / 294 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.906e-05/0.1145, allocations: 98.75 kB / 294.1 MB, free: 16.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1145, allocations: 1.125 kB / 294.1 MB, free: 16.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.1146, allocations: 20.09 kB / 294.1 MB, free: 16.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1146, allocations: 1.188 kB / 294.1 MB, free: 16.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.1146, allocations: 1.312 kB / 294.1 MB, free: 16.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1146, allocations: 3.5 kB / 294.1 MB, free: 16.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1146, allocations: 0 / 294.1 MB, free: 16.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.634e-05/0.1147, allocations: 107.1 kB / 294.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.1147, allocations: 13.45 kB / 294.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.1147, allocations: 2.859 kB / 294.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.1148, allocations: 19.38 kB / 294.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.1148, allocations: 17.88 kB / 294.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.1148, allocations: 2.516 kB / 294.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.1149, allocations: 48.36 kB / 294.3 MB, free: 16.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1149, allocations: 0 / 294.3 MB, free: 16.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001203/0.115, allocations: 34.7 kB / 294.3 MB, free: 16.77 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.721e-05/0.1151, allocations: 78.88 kB / 294.4 MB, free: 16.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1152, allocations: 144.5 kB / 294.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1152, allocations: 1.906 kB / 294.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.59e-05/0.1152, allocations: 31.78 kB / 294.6 MB, free: 16.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.1154, allocations: 27.38 kB / 294.6 MB, free: 16.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.1158, allocations: 264.9 kB / 294.9 MB, free: 16.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.796e-05/0.1158, allocations: 70.39 kB / 294.9 MB, free: 16.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.1159, allocations: 13.06 kB / 294.9 MB, free: 16.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.116, allocations: 74.45 kB / 295 MB, free: 16.27 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.116, allocations: 1.156 kB / 295 MB, free: 16.27 MB / 266.7 MB Notification: Performance of Templates: time 0.003739/0.1197, allocations: 1.872 MB / 296.9 MB, free: 16.16 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6699498388916254]