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.001621/0.001621, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001933/0.001933, allocations: 210.3 kB / 23.01 MB, free: 4.566 MB / 14.72 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 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.06383/0.06383, allocations: 11.35 MB / 324.5 MB, free: 8.242 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.88 kB / 452.3 MB, free: 10 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1123, allocations: 56.06 MB / 0.4964 GB, free: 1.84 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003097/0.1154, allocations: 1.764 MB / 0.4982 GB, free: 68 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1166, allocations: 0.6427 MB / 0.4988 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.1167, allocations: 7.938 kB / 0.4988 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.1168, allocations: 15.8 kB / 0.4988 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.494e-05/0.1169, allocations: 35.66 kB / 0.4989 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1172, allocations: 75.84 kB / 0.4989 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.1174, allocations: 175.5 kB / 0.4991 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1175, allocations: 29.73 kB / 0.4991 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1177, allocations: 79.69 kB / 0.4992 GB, free: 15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.1179, allocations: 71.62 kB / 0.4993 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.1179, allocations: 12 kB / 0.4993 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.433e-05/0.1179, allocations: 16 kB / 0.4993 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.118, allocations: 39.83 kB / 0.4993 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.851e-05/0.1181, allocations: 71.53 kB / 0.4994 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.1183, allocations: 147.3 kB / 0.4995 GB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1183, allocations: 0 / 0.4995 GB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1183, allocations: 0 / 0.4995 GB, free: 14.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1183, allocations: 0 / 0.4995 GB, free: 14.65 MB / 382.1 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.0009606/0.1193, allocations: 451.1 kB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1193, allocations: 8.031 kB / 0.5 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.1195, allocations: 32.78 kB / 0.5 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.1198, allocations: 195.8 kB / 0.5002 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.12, allocations: 111.4 kB / 0.5003 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.12, allocations: 12.38 kB / 0.5003 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.1204, allocations: 135.9 kB / 0.5004 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1204, allocations: 0 / 0.5004 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.1204, allocations: 12 kB / 0.5005 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1204, allocations: 3.984 kB / 0.5005 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.1209, allocations: 123.9 kB / 0.5006 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.1217, allocations: 399.5 kB / 0.501 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.1221, allocations: 118.4 kB / 0.5011 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.1223, allocations: 64.8 kB / 0.5011 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1224, allocations: 8.141 kB / 0.5011 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003603/0.1227, allocations: 123.3 kB / 0.5013 GB, free: 12.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1227, allocations: 0 / 0.5013 GB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008197/0.1235, allocations: 237.5 kB / 0.5015 GB, free: 12.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1236, allocations: 59.41 kB / 0.5015 GB, free: 12.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1238, allocations: 179.2 kB / 0.5017 GB, free: 12.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1238, allocations: 29.7 kB / 0.5017 GB, free: 12.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1239, allocations: 132.2 kB / 0.5019 GB, free: 12.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.1239, allocations: 24.22 kB / 0.5019 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.124, allocations: 37.64 kB / 0.5019 GB, free: 12.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1242, allocations: 322.8 kB / 0.5022 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.1244, allocations: 63.94 kB / 0.5023 GB, free: 11.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.1247, allocations: 103.3 kB / 0.5024 GB, free: 11.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.1251, allocations: 176.9 kB / 0.5026 GB, free: 11.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1251, allocations: 3.938 kB / 0.5026 GB, free: 11.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005923/0.1257, allocations: 231.1 kB / 0.5028 GB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.1258, allocations: 33.8 kB / 0.5028 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.1258, allocations: 7.938 kB / 0.5028 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1258, allocations: 0 / 0.5028 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.126, allocations: 27.91 kB / 0.5029 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.126, allocations: 4 kB / 0.5029 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.1262, allocations: 39.84 kB / 0.5029 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1262, allocations: 4 kB / 0.5029 GB, free: 10.95 MB / 382.1 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 0.0001215/0.1263, allocations: 129.8 kB / 0.503 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.1263, allocations: 15.91 kB / 0.503 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.1264, allocations: 25.33 kB / 0.5031 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1264, allocations: 0 / 0.5031 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1264, allocations: 0 / 0.5031 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1264, allocations: 0 / 0.5031 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.1266, allocations: 196.6 kB / 0.5032 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1266, allocations: 0 / 0.5032 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.1268, allocations: 31.91 kB / 0.5033 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1268, allocations: 3.938 kB / 0.5033 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1268, allocations: 3.938 kB / 0.5033 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1268, allocations: 0 / 0.5033 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1268, allocations: 0 / 0.5033 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.1273, allocations: 208.8 kB / 0.5035 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.1274, allocations: 19.84 kB / 0.5035 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.1274, allocations: 3.938 kB / 0.5035 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1276, allocations: 23.95 kB / 0.5035 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.1276, allocations: 23.97 kB / 0.5036 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1277, allocations: 8 kB / 0.5036 GB, free: 10.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1278, allocations: 123.2 kB / 0.5037 GB, free: 10.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1278, allocations: 4 kB / 0.5037 GB, free: 10.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.128, allocations: 28 kB / 0.5037 GB, free: 10.05 MB / 382.1 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 0.0001305/0.1281, allocations: 107.2 kB / 0.5038 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005848/0.1287, allocations: 199.2 kB / 0.504 GB, free: 9.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.1287, allocations: 8.188 kB / 0.504 GB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.1289, allocations: 67.92 kB / 0.5041 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.1292, allocations: 18.06 kB / 0.5041 GB, free: 9.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006628/0.1299, allocations: 301.6 kB / 0.5044 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.1302, allocations: 0.7201 MB / 0.5051 GB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.1303, allocations: 19.42 kB / 0.5051 GB, free: 8.543 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1303, allocations: 0 / 0.5051 GB, free: 8.543 MB / 382.1 MB Notification: Performance of Templates: time 0.004006/0.1343, allocations: 1.949 MB / 0.507 GB, free: 6.602 MB / 382.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.031049513025209] Failed to read output from testmodel.py, exit status != 0: 0.14357814099639654 0.321289194 0.20009010700000002 Calling exit ...