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.001639/0.001639, allocations: 102.1 kB / 19.7 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.001925/0.001925, allocations: 217.2 kB / 23.01 MB, free: 4.609 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.06736/0.06736, allocations: 11.34 MB / 324.5 MB, free: 8.266 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.002087/0.002087, allocations: 67.91 kB / 452.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1032, allocations: 56.08 MB / 0.4965 GB, free: 1.863 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.003255/0.1065, allocations: 1.786 MB / 0.4982 GB, free: 68 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1077, allocations: 0.6311 MB / 0.4988 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.1079, allocations: 7.938 kB / 0.4988 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.108, allocations: 23.73 kB / 0.4989 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.1081, allocations: 35.66 kB / 0.4989 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.1084, allocations: 95.8 kB / 0.499 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.1088, allocations: 203.4 kB / 0.4992 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1089, allocations: 33.67 kB / 0.4992 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.109, allocations: 83.7 kB / 0.4993 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1092, allocations: 91.58 kB / 0.4994 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.1092, allocations: 16 kB / 0.4994 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.983e-05/0.1092, allocations: 16 kB / 0.4994 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.1093, allocations: 39.84 kB / 0.4994 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.309e-05/0.1094, allocations: 75.53 kB / 0.4995 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.1096, allocations: 175.2 kB / 0.4997 GB, free: 14.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1096, allocations: 4 kB / 0.4997 GB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1096, allocations: 0 / 0.4997 GB, free: 14.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.1096, allocations: 0 / 0.4997 GB, free: 14.54 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.001139/0.1108, allocations: 0.5007 MB / 0.5002 GB, free: 14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1108, allocations: 12.03 kB / 0.5002 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.351e-05/0.1109, allocations: 28.78 kB / 0.5002 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.1113, allocations: 206 kB / 0.5004 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.1113, allocations: 63.97 kB / 0.5005 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.1114, allocations: 12.38 kB / 0.5005 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.1119, allocations: 204.2 kB / 0.5007 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1119, allocations: 0 / 0.5007 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.1119, allocations: 4 kB / 0.5007 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1119, allocations: 0 / 0.5007 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.1125, allocations: 159.8 kB / 0.5008 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.1135, allocations: 0.6012 MB / 0.5014 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/0.1141, allocations: 154.6 kB / 0.5016 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.1144, allocations: 84.72 kB / 0.5016 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1144, allocations: 0 / 0.5016 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004514/0.1149, allocations: 167.2 kB / 0.5018 GB, free: 12.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.1149, allocations: 4 kB / 0.5018 GB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001006/0.1159, allocations: 300.3 kB / 0.5021 GB, free: 11.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1159, allocations: 59.41 kB / 0.5022 GB, free: 11.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1161, allocations: 199.8 kB / 0.5023 GB, free: 11.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1162, allocations: 33.7 kB / 0.5024 GB, free: 11.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1163, allocations: 140.2 kB / 0.5025 GB, free: 11.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.1163, allocations: 35.73 kB / 0.5025 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.1164, allocations: 45.7 kB / 0.5026 GB, free: 11.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1165, allocations: 326.8 kB / 0.5029 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.1169, allocations: 99.84 kB / 0.503 GB, free: 10.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.1172, allocations: 133.9 kB / 0.5031 GB, free: 10.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.1179, allocations: 279.4 kB / 0.5034 GB, free: 10.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1179, allocations: 0 / 0.5034 GB, free: 10.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008186/0.1187, allocations: 348.6 kB / 0.5037 GB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.853e-05/0.1187, allocations: 63.41 kB / 0.5038 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1187, allocations: 4 kB / 0.5038 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1188, allocations: 0 / 0.5038 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.1191, allocations: 63.88 kB / 0.5038 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1192, allocations: 0 / 0.5038 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.1194, allocations: 51.97 kB / 0.5039 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1194, allocations: 8 kB / 0.5039 GB, free: 9.91 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.0001329/0.1196, allocations: 130.3 kB / 0.504 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.1196, allocations: 19.84 kB / 0.504 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.1197, allocations: 21.45 kB / 0.5041 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1197, allocations: 4 kB / 0.5041 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1197, allocations: 4 kB / 0.5041 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1197, allocations: 0 / 0.5041 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.1199, allocations: 220.6 kB / 0.5043 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1199, allocations: 0 / 0.5043 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.1203, allocations: 51.89 kB / 0.5043 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1203, allocations: 0 / 0.5043 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1203, allocations: 4 kB / 0.5043 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1203, allocations: 0 / 0.5043 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1203, allocations: 7.984 kB / 0.5043 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1214, allocations: 343.8 kB / 0.5047 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.1214, allocations: 27.81 kB / 0.5047 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.1214, allocations: 7.984 kB / 0.5047 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.1216, allocations: 35.95 kB / 0.5047 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.1217, allocations: 19.97 kB / 0.5048 GB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.1217, allocations: 7.984 kB / 0.5048 GB, free: 8.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1219, allocations: 145.5 kB / 0.5049 GB, free: 8.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1219, allocations: 4.062 kB / 0.5049 GB, free: 8.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1222, allocations: 39.95 kB / 0.5049 GB, free: 8.77 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.0001225/0.1223, allocations: 99.25 kB / 0.505 GB, free: 8.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007845/0.1231, allocations: 314.8 kB / 0.5053 GB, free: 8.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.1231, allocations: 0 / 0.5053 GB, free: 8.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.1234, allocations: 87.86 kB / 0.5054 GB, free: 8.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.1237, allocations: 37.28 kB / 0.5055 GB, free: 8.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007753/0.1244, allocations: 365.5 kB / 0.5058 GB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1248, allocations: 0.728 MB / 0.5065 GB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.266e-05/0.1249, allocations: 27.42 kB / 0.5065 GB, free: 7.043 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1249, allocations: 0 / 0.5065 GB, free: 7.043 MB / 382.1 MB Notification: Performance of Templates: time 0.004966/0.1298, allocations: 2.449 MB / 0.5089 GB, free: 4.602 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.278675452107564] Failed to read output from testmodel.py, exit status != 0: 0.1385575921740383 0.330854716 0.218134182 Calling exit ...