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.001259/0.001259, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001359/0.001359, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.371/1.371, 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.06197/0.06197, allocations: 11.35 MB / 324.6 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: "" <> 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.001861/0.001861, allocations: 63.91 kB / 451.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1044, allocations: 56.07 MB / 0.4959 GB, free: 2.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003114/0.1075, allocations: 1.82 MB / 0.4977 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1087, allocations: 0.6863 MB / 0.4984 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1088, allocations: 19.81 kB / 0.4984 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.109, allocations: 27.67 kB / 0.4984 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.1091, allocations: 43.59 kB / 0.4985 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1095, allocations: 127.8 kB / 0.4986 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.1098, allocations: 299.2 kB / 0.4989 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1099, allocations: 37.42 kB / 0.4989 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.1101, allocations: 147.5 kB / 0.499 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.1103, allocations: 115.4 kB / 0.4991 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.1103, allocations: 20 kB / 0.4992 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.814e-05/0.1104, allocations: 20 kB / 0.4992 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.1104, allocations: 51.83 kB / 0.4992 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1105, allocations: 87.5 kB / 0.4993 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.1108, allocations: 234.8 kB / 0.4995 GB, free: 14.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1108, allocations: 0 / 0.4995 GB, free: 14.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1108, allocations: 4 kB / 0.4995 GB, free: 14.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.1108, allocations: 4 kB / 0.4995 GB, free: 14.43 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.00115/0.112, allocations: 0.5401 MB / 0.5001 GB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.112, allocations: 8.031 kB / 0.5001 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.801e-05/0.112, allocations: 4.422 kB / 0.5001 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.1121, allocations: 54.73 kB / 0.5001 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.601e-05/0.1122, allocations: 28.75 kB / 0.5002 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.1126, allocations: 260.5 kB / 0.5004 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.595e-05/0.1127, allocations: 101.4 kB / 0.5005 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.1128, allocations: 16 kB / 0.5005 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.1133, allocations: 200.6 kB / 0.5007 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1133, allocations: 4 kB / 0.5007 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.1133, allocations: 4 kB / 0.5007 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1133, allocations: 4 kB / 0.5007 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.1139, allocations: 172.6 kB / 0.5009 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.1152, allocations: 0.6479 MB / 0.5015 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.1157, allocations: 166.4 kB / 0.5017 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.116, allocations: 95.92 kB / 0.5018 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.116, allocations: 0 / 0.5018 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004285/0.1164, allocations: 171.2 kB / 0.5019 GB, free: 11.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.1164, allocations: 0 / 0.5019 GB, free: 11.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009567/0.1174, allocations: 329.3 kB / 0.5023 GB, free: 11.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.1175, allocations: 59.39 kB / 0.5023 GB, free: 11.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.1177, allocations: 229 kB / 0.5025 GB, free: 11.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1177, allocations: 29.7 kB / 0.5026 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1178, allocations: 156.4 kB / 0.5027 GB, free: 11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.1179, allocations: 47.59 kB / 0.5028 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.068e-05/0.1179, allocations: 53.62 kB / 0.5028 GB, free: 10.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1181, allocations: 334.8 kB / 0.5031 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.1184, allocations: 129.6 kB / 0.5032 GB, free: 10.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.1187, allocations: 154.5 kB / 0.5034 GB, free: 10.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.1193, allocations: 236.9 kB / 0.5036 GB, free: 10.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1193, allocations: 0 / 0.5036 GB, free: 10.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007353/0.12, allocations: 338 kB / 0.5039 GB, free: 9.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.12, allocations: 33.7 kB / 0.504 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.1201, allocations: 3.984 kB / 0.504 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1201, allocations: 8.094 kB / 0.504 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.1215, allocations: 123.8 kB / 0.5041 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.1239, allocations: 2.675 MB / 0.5067 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.1242, allocations: 39.89 kB / 0.5068 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.1242, allocations: 11.94 kB / 0.5068 GB, free: 6.531 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.0001582/0.1244, allocations: 139.8 kB / 0.5069 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.1244, allocations: 19.86 kB / 0.5069 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/0.1251, allocations: 282 kB / 0.5072 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1251, allocations: 4 kB / 0.5072 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.1251, allocations: 0 / 0.5072 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1251, allocations: 0 / 0.5072 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.1262, allocations: 0.5909 MB / 0.5078 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1262, allocations: 0 / 0.5078 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.1274, allocations: 119.9 kB / 0.5079 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1274, allocations: 0 / 0.5079 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.1274, allocations: 0 / 0.5079 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.1274, allocations: 7.922 kB / 0.5079 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1275, allocations: 4 kB / 0.5079 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009826/0.1284, allocations: 465.7 kB / 0.5083 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.1285, allocations: 23.8 kB / 0.5084 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.1285, allocations: 7.984 kB / 0.5084 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.1287, allocations: 31.98 kB / 0.5084 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.1288, allocations: 27.94 kB / 0.5084 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.1288, allocations: 8 kB / 0.5084 GB, free: 4.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.129, allocations: 160.5 kB / 0.5086 GB, free: 4.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.129, allocations: 4 kB / 0.5086 GB, free: 4.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1293, allocations: 47.94 kB / 0.5086 GB, free: 4.535 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.001365/0.1306, allocations: 0.9932 MB / 0.5096 GB, free: 3.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009906/0.1316, allocations: 321 kB / 0.5099 GB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1316, allocations: 0 / 0.5099 GB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.132, allocations: 114.4 kB / 0.51 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1323, allocations: 24.42 kB / 0.51 GB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.1362, allocations: 2.681 MB / 0.5127 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.1364, allocations: 142 kB / 0.5128 GB, free: 84 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.1365, allocations: 25.95 kB / 0.5128 GB, free: 60 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1836/0.32, allocations: 76.62 kB / 0.5129 GB, free: 23.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.143e-06/0.32, allocations: 0 / 0.5129 GB, free: 23.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.3486, allocations: 5.449 MB / 0.5182 GB, free: 22.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.65, allocations: 0.6562 kB / 0.5182 GB, free: 22.45 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.170193259953521] Failed to read output from testmodel.py, exit status != 0: 12.822906820103526 12.839101603 12.725483035 Calling exit ...