Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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.001248/0.001248, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001314/0.001314, allocations: 220 kB / 23.04 MB, free: 5.078 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.35/1.35, 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.0622/0.0622, allocations: 11.35 MB / 324.6 MB, free: 8.277 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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="cs",version="2.0",platforms={"static"}) [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.001918/0.001918, allocations: 63.91 kB / 451.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1017, allocations: 56.07 MB / 0.496 GB, free: 2.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003005/0.1047, allocations: 1.913 MB / 0.4979 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1059, allocations: 0.733 MB / 0.4986 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.106, allocations: 15.81 kB / 0.4986 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.1061, allocations: 23.67 kB / 0.4986 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.1062, allocations: 51.58 kB / 0.4987 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.1066, allocations: 139.7 kB / 0.4988 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.1069, allocations: 287.3 kB / 0.4991 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.1071, allocations: 41.42 kB / 0.4991 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.1073, allocations: 135.5 kB / 0.4992 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1075, allocations: 119.4 kB / 0.4994 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.1075, allocations: 20 kB / 0.4994 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-05/0.1075, allocations: 24 kB / 0.4994 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.1076, allocations: 55.77 kB / 0.4995 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1077, allocations: 107.4 kB / 0.4996 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.108, allocations: 234.8 kB / 0.4998 GB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.108, allocations: 0 / 0.4998 GB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.108, allocations: 0 / 0.4998 GB, free: 14.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.108, allocations: 0 / 0.4998 GB, free: 14.52 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001103/0.1091, allocations: 0.5418 MB / 0.5003 GB, free: 13.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1091, allocations: 8.031 kB / 0.5003 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.367e-05/0.1091, allocations: 4.422 kB / 0.5003 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.1092, allocations: 54.73 kB / 0.5004 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.849e-05/0.1093, allocations: 32.75 kB / 0.5004 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.1097, allocations: 256.5 kB / 0.5006 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.805e-05/0.1098, allocations: 97.39 kB / 0.5007 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.1098, allocations: 16 kB / 0.5008 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.1103, allocations: 204.6 kB / 0.501 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1103, allocations: 0 / 0.501 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.1104, allocations: 4 kB / 0.501 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1104, allocations: 4 kB / 0.501 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005559/0.1109, allocations: 172.6 kB / 0.5011 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.1123, allocations: 0.6869 MB / 0.5018 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/0.1129, allocations: 170.4 kB / 0.502 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.1132, allocations: 100.7 kB / 0.5021 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1132, allocations: 0 / 0.5021 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.1137, allocations: 167.2 kB / 0.5022 GB, free: 11.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1137, allocations: 0 / 0.5022 GB, free: 11.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001011/0.1147, allocations: 325.3 kB / 0.5025 GB, free: 11.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.1148, allocations: 67.31 kB / 0.5026 GB, free: 11.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.115, allocations: 229 kB / 0.5028 GB, free: 11.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.115, allocations: 29.7 kB / 0.5028 GB, free: 11.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1151, allocations: 152.4 kB / 0.503 GB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.1152, allocations: 51.59 kB / 0.503 GB, free: 11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/0.1153, allocations: 49.62 kB / 0.5031 GB, free: 10.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1154, allocations: 338.8 kB / 0.5034 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.1158, allocations: 87.94 kB / 0.5035 GB, free: 10.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.1161, allocations: 130.8 kB / 0.5036 GB, free: 10.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.1167, allocations: 239.5 kB / 0.5038 GB, free: 10.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1167, allocations: 0 / 0.5038 GB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007362/0.1174, allocations: 303 kB / 0.5041 GB, free: 9.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.1174, allocations: 41.78 kB / 0.5042 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1174, allocations: 0 / 0.5042 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1175, allocations: 4 kB / 0.5042 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.1189, allocations: 131.8 kB / 0.5043 GB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.1214, allocations: 2.675 MB / 0.5069 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.1216, allocations: 40.02 kB / 0.5069 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1216, allocations: 15.94 kB / 0.507 GB, free: 6.676 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 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.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): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.1218, allocations: 133.8 kB / 0.5071 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.1219, allocations: 23.84 kB / 0.5071 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007405/0.1226, allocations: 275.5 kB / 0.5074 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1226, allocations: 0 / 0.5074 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.1226, allocations: 4 kB / 0.5074 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1226, allocations: 0 / 0.5074 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.1238, allocations: 0.6245 MB / 0.508 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1238, allocations: 0 / 0.508 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.1251, allocations: 103.9 kB / 0.5081 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1251, allocations: 0 / 0.5081 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.1251, allocations: 15.98 kB / 0.5081 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.1251, allocations: 3.938 kB / 0.5081 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1251, allocations: 0 / 0.5081 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/0.1261, allocations: 457.9 kB / 0.5085 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.1261, allocations: 27.8 kB / 0.5086 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.1262, allocations: 15.97 kB / 0.5086 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.1264, allocations: 19.97 kB / 0.5086 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.1265, allocations: 31.89 kB / 0.5086 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1265, allocations: 4 kB / 0.5086 GB, free: 4.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001577/0.1266, allocations: 168.5 kB / 0.5088 GB, free: 4.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1266, allocations: 0 / 0.5088 GB, free: 4.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.1269, allocations: 36 kB / 0.5088 GB, free: 4.676 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.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 (18): * Single equations (assignments): 15 * 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.001356/0.1283, allocations: 1.011 MB / 0.5098 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.1293, allocations: 293 kB / 0.5101 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1293, allocations: 0 / 0.5101 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.1296, allocations: 107.9 kB / 0.5102 GB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.13, allocations: 32.3 kB / 0.5102 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003995/0.134, allocations: 2.567 MB / 0.5127 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.192/0.3259, allocations: 0.7486 MB / 0.5135 GB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.3261, allocations: 25.83 kB / 0.5135 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3263, allocations: 78.94 kB / 0.5136 GB, free: 22.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3263, allocations: 0.9375 kB / 0.5136 GB, free: 22.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.3531, allocations: 5.325 MB / 0.5188 GB, free: 22.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.58, allocations: 17.53 kB / 0.5188 GB, free: 22.09 MB / 382.1 MB " [Timeout remaining time 647] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL_fmu --startTime=0 --stopTime=22 --stepSize=0.0088 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.104272985947318] Failed to read output from testmodel.py, exit status != 0: 12.758193622925319 12.772399955 12.661724154 Calling exit ...