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.001333/0.001333, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001409/0.001409, allocations: 219.1 kB / 22.26 MB, free: 5.125 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.984 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.06624/0.06624, allocations: 11.34 MB / 323.8 MB, free: 8.234 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingLL",fmuType="me",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.002091/0.002091, allocations: 71.91 kB / 451.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1094, allocations: 56.07 MB / 0.4952 GB, free: 2.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003216/0.1126, allocations: 1.903 MB / 0.4971 GB, free: 424 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.114, allocations: 0.7408 MB / 0.4978 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.1141, allocations: 11.88 kB / 0.4978 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.1143, allocations: 31.61 kB / 0.4979 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.1144, allocations: 43.59 kB / 0.4979 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.1148, allocations: 131.7 kB / 0.498 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.1152, allocations: 291.3 kB / 0.4983 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.1153, allocations: 49.41 kB / 0.4983 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.1155, allocations: 127.5 kB / 0.4985 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.1157, allocations: 123.4 kB / 0.4986 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.1158, allocations: 20 kB / 0.4986 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.061e-05/0.1158, allocations: 20 kB / 0.4986 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.1159, allocations: 59.75 kB / 0.4987 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.116, allocations: 107.4 kB / 0.4988 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.1163, allocations: 234.8 kB / 0.499 GB, free: 14.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1163, allocations: 0 / 0.499 GB, free: 14.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1163, allocations: 0 / 0.499 GB, free: 14.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1163, allocations: 0 / 0.499 GB, free: 14.44 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.001184/0.1175, allocations: 0.5379 MB / 0.4995 GB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1175, allocations: 12.03 kB / 0.4995 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.531e-05/0.1176, allocations: 50.73 kB / 0.4996 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.1176, allocations: 36.75 kB / 0.4996 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005109/0.1182, allocations: 256.7 kB / 0.4999 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.827e-05/0.1183, allocations: 101.4 kB / 0.5 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.1183, allocations: 12 kB / 0.5 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.1188, allocations: 208.6 kB / 0.5002 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1188, allocations: 0 / 0.5002 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1189, allocations: 4 kB / 0.5002 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1189, allocations: 8 kB / 0.5002 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.1194, allocations: 168.6 kB / 0.5004 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.1209, allocations: 0.6946 MB / 0.501 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/0.1215, allocations: 166.4 kB / 0.5012 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.1217, allocations: 96.8 kB / 0.5013 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1218, allocations: 0 / 0.5013 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004303/0.1222, allocations: 169.7 kB / 0.5014 GB, free: 11.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1222, allocations: 0 / 0.5014 GB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001022/0.1232, allocations: 325.3 kB / 0.5018 GB, free: 11.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1233, allocations: 55.41 kB / 0.5018 GB, free: 11.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1235, allocations: 233 kB / 0.502 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.1236, allocations: 29.7 kB / 0.5021 GB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1237, allocations: 152.4 kB / 0.5022 GB, free: 10.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.1237, allocations: 55.58 kB / 0.5023 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.2e-05/0.1238, allocations: 53.62 kB / 0.5023 GB, free: 10.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.124, allocations: 334.8 kB / 0.5026 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.1243, allocations: 87.92 kB / 0.5027 GB, free: 10.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.1246, allocations: 137.5 kB / 0.5028 GB, free: 10.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.1252, allocations: 235.4 kB / 0.5031 GB, free: 10.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1252, allocations: 0 / 0.5031 GB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007817/0.126, allocations: 307 kB / 0.5034 GB, free: 9.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.1261, allocations: 39.98 kB / 0.5034 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1261, allocations: 0 / 0.5034 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.1261, allocations: 11.97 kB / 0.5034 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.1276, allocations: 123.8 kB / 0.5035 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.1302, allocations: 2.671 MB / 0.5061 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.1304, allocations: 36.02 kB / 0.5062 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.1305, allocations: 12 kB / 0.5062 GB, free: 6.602 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.0001644/0.1306, allocations: 144.8 kB / 0.5063 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.1307, allocations: 27.84 kB / 0.5063 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000736/0.1314, allocations: 275.6 kB / 0.5066 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1314, allocations: 0 / 0.5066 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.1314, allocations: 4 kB / 0.5066 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1314, allocations: 3.938 kB / 0.5066 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.1326, allocations: 0.6182 MB / 0.5072 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1326, allocations: 0 / 0.5072 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.1338, allocations: 103.9 kB / 0.5073 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1338, allocations: 3.984 kB / 0.5073 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.1338, allocations: 11.98 kB / 0.5073 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1338, allocations: 3.938 kB / 0.5073 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1338, allocations: 0 / 0.5073 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1348, allocations: 461.6 kB / 0.5078 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.1349, allocations: 23.8 kB / 0.5078 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.1349, allocations: 15.97 kB / 0.5078 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.1352, allocations: 19.97 kB / 0.5078 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.1352, allocations: 27.95 kB / 0.5079 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1353, allocations: 4 kB / 0.5079 GB, free: 4.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.1354, allocations: 160.5 kB / 0.508 GB, free: 4.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1354, allocations: 4 kB / 0.508 GB, free: 4.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.1357, allocations: 40 kB / 0.5081 GB, free: 4.594 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.001369/0.1371, allocations: 1.005 MB / 0.509 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1381, allocations: 289.9 kB / 0.5093 GB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1381, allocations: 3.938 kB / 0.5093 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.1384, allocations: 103.9 kB / 0.5094 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1388, allocations: 36.3 kB / 0.5095 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.1428, allocations: 2.567 MB / 0.512 GB, free: 464 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1996/0.3424, allocations: 0.7483 MB / 0.5127 GB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.3426, allocations: 30.17 kB / 0.5127 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3427, allocations: 75.58 kB / 0.5128 GB, free: 22.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3427, allocations: 0.5625 kB / 0.5128 GB, free: 22.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.3756, allocations: 5.302 MB / 0.518 GB, free: 22.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.13, allocations: 7.984 kB / 0.518 GB, free: 22.1 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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL_res.csv --start-time 0 --stop-time 22 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0088 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.867697150002641] Failed to read output from testmodel.py, exit status != 0: 13.250764528005675 13.275353643 13.154287795 Calling exit ...