Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.00167/0.00167, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001925/0.001925, allocations: 219.6 kB / 22.99 MB, free: 4.914 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.06521/0.06521, allocations: 11.35 MB / 324.5 MB, free: 8.043 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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") [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.0021/0.0021, allocations: 71.84 kB / 452.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1124, allocations: 56.07 MB / 0.4964 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.00301/0.1155, allocations: 1.719 MB / 0.4981 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1168, allocations: 0.6 MB / 0.4986 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.1169, allocations: 7.938 kB / 0.4987 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.117, allocations: 23.73 kB / 0.4987 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.018e-05/0.1171, allocations: 35.66 kB / 0.4987 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.1174, allocations: 91.81 kB / 0.4988 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.1177, allocations: 199.5 kB / 0.499 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1178, allocations: 25.73 kB / 0.499 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1179, allocations: 87.62 kB / 0.4991 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.118, allocations: 83.59 kB / 0.4992 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.1181, allocations: 16 kB / 0.4992 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.53e-05/0.1181, allocations: 16 kB / 0.4992 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.1182, allocations: 39.83 kB / 0.4992 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.502e-05/0.1183, allocations: 59.66 kB / 0.4993 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.1185, allocations: 183.2 kB / 0.4995 GB, free: 14.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1185, allocations: 3.938 kB / 0.4995 GB, free: 14.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1185, allocations: 0 / 0.4995 GB, free: 14.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1185, allocations: 0 / 0.4995 GB, free: 14.46 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001248/0.1198, allocations: 0.5047 MB / 0.5 GB, free: 13.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1198, allocations: 8.031 kB / 0.5 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.1199, allocations: 32.78 kB / 0.5 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004958/0.1204, allocations: 198.1 kB / 0.5002 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-05/0.1205, allocations: 63.97 kB / 0.5003 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.1205, allocations: 12.38 kB / 0.5003 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.1213, allocations: 200.2 kB / 0.5005 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1213, allocations: 0 / 0.5005 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.1213, allocations: 4 kB / 0.5005 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.1214, allocations: 4 kB / 0.5005 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.1223, allocations: 152.6 kB / 0.5006 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.1236, allocations: 0.551 MB / 0.5012 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/0.1242, allocations: 154.4 kB / 0.5013 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/0.1246, allocations: 80.89 kB / 0.5014 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1246, allocations: 4 kB / 0.5014 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.1251, allocations: 159.2 kB / 0.5015 GB, free: 12.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1251, allocations: 0 / 0.5015 GB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001088/0.1262, allocations: 297.2 kB / 0.5018 GB, free: 11.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1262, allocations: 59.41 kB / 0.5019 GB, free: 11.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1264, allocations: 203.8 kB / 0.5021 GB, free: 11.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1265, allocations: 29.7 kB / 0.5021 GB, free: 11.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1266, allocations: 148.2 kB / 0.5022 GB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.1266, allocations: 31.73 kB / 0.5023 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.1267, allocations: 49.66 kB / 0.5023 GB, free: 11.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1269, allocations: 330.8 kB / 0.5026 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.1272, allocations: 151.2 kB / 0.5028 GB, free: 10.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.1276, allocations: 197.3 kB / 0.503 GB, free: 10.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/0.1284, allocations: 262.9 kB / 0.5032 GB, free: 10.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1284, allocations: 0 / 0.5032 GB, free: 10.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009055/0.1293, allocations: 406.3 kB / 0.5036 GB, free: 9.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/0.1294, allocations: 69.69 kB / 0.5037 GB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1294, allocations: 4 kB / 0.5037 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.1294, allocations: 7.938 kB / 0.5037 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.1298, allocations: 59.88 kB / 0.5037 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1298, allocations: 8.125 kB / 0.5037 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.1301, allocations: 51.83 kB / 0.5038 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1301, allocations: 7.938 kB / 0.5038 GB, free: 9.699 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001451/0.1303, allocations: 133.8 kB / 0.5039 GB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.1303, allocations: 19.84 kB / 0.5039 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.1304, allocations: 21.45 kB / 0.504 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1304, allocations: 4 kB / 0.504 GB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1304, allocations: 4 kB / 0.504 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1304, allocations: 0 / 0.504 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.1306, allocations: 173.1 kB / 0.5041 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1306, allocations: 3.984 kB / 0.5041 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.131, allocations: 47.95 kB / 0.5042 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.131, allocations: 0 / 0.5042 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.131, allocations: 7.938 kB / 0.5042 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.131, allocations: 0 / 0.5042 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.131, allocations: 4 kB / 0.5042 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.1321, allocations: 352 kB / 0.5045 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.1321, allocations: 15.86 kB / 0.5046 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.1322, allocations: 8 kB / 0.5046 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.1324, allocations: 35.95 kB / 0.5046 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.1325, allocations: 23.95 kB / 0.5046 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.1325, allocations: 11.98 kB / 0.5046 GB, free: 8.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1327, allocations: 141.5 kB / 0.5048 GB, free: 8.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1327, allocations: 0 / 0.5048 GB, free: 8.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1329, allocations: 36 kB / 0.5048 GB, free: 8.621 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001112/0.133, allocations: 106.2 kB / 0.5049 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008783/0.1339, allocations: 369.9 kB / 0.5053 GB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1339, allocations: 0 / 0.5053 GB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.1343, allocations: 92.23 kB / 0.5053 GB, free: 8.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.1345, allocations: 27.97 kB / 0.5054 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007411/0.1353, allocations: 354.1 kB / 0.5057 GB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.1354, allocations: 120 kB / 0.5058 GB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1355, allocations: 27.42 kB / 0.5058 GB, free: 7.453 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1355, allocations: 0 / 0.5058 GB, free: 7.453 MB / 382.1 MB Notification: Performance of Templates: time 0.005853/0.1414, allocations: 2.514 MB / 0.5083 GB, free: 4.941 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.122472845949233] Failed to read output from testmodel.py, exit status != 0: 0.15107975108549 0.31520148800000003 0.19424449500000002 Calling exit ...