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.001295/0.001295, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001453/0.001453, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.417/1.417, allocations: 230.6 MB / 256 MB, free: 7.801 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.06177/0.06177, allocations: 11.34 MB / 323.8 MB, free: 8.027 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.002127/0.002127, allocations: 67.89 kB / 451 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1083, allocations: 56.06 MB / 0.4952 GB, free: 2.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002971/0.1112, allocations: 1.825 MB / 0.4969 GB, free: 316 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1125, allocations: 0.6902 MB / 0.4976 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1126, allocations: 19.88 kB / 0.4976 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.1127, allocations: 23.67 kB / 0.4977 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.1128, allocations: 51.52 kB / 0.4977 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.1132, allocations: 127.8 kB / 0.4978 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003297/0.1135, allocations: 287.3 kB / 0.4981 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1137, allocations: 49.41 kB / 0.4981 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.1138, allocations: 131.5 kB / 0.4983 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.114, allocations: 111.4 kB / 0.4984 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.114, allocations: 20 kB / 0.4984 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.79e-05/0.1141, allocations: 20 kB / 0.4984 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.1141, allocations: 51.83 kB / 0.4985 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.387e-05/0.1142, allocations: 83.52 kB / 0.4985 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.1145, allocations: 238.8 kB / 0.4988 GB, free: 14.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1145, allocations: 0 / 0.4988 GB, free: 14.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1145, allocations: 8 kB / 0.4988 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1145, allocations: 3.938 kB / 0.4988 GB, free: 14.41 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.001129/0.1157, allocations: 0.5438 MB / 0.4993 GB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1157, allocations: 8.031 kB / 0.4993 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.322e-05/0.1158, allocations: 54.73 kB / 0.4994 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.1158, allocations: 32.75 kB / 0.4994 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/0.1163, allocations: 256.7 kB / 0.4996 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.475e-05/0.1164, allocations: 101.4 kB / 0.4997 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.1164, allocations: 16 kB / 0.4998 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.1169, allocations: 204.6 kB / 0.5 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1169, allocations: 0 / 0.5 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.1169, allocations: 4 kB / 0.5 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.117, allocations: 7.984 kB / 0.5 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.1175, allocations: 168.6 kB / 0.5001 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.1188, allocations: 0.6518 MB / 0.5008 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005147/0.1193, allocations: 158.5 kB / 0.5009 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.1196, allocations: 100.7 kB / 0.501 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1196, allocations: 0 / 0.501 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004166/0.1201, allocations: 167.2 kB / 0.5012 GB, free: 11.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.1201, allocations: 0 / 0.5012 GB, free: 11.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009835/0.121, allocations: 335.5 kB / 0.5015 GB, free: 11.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1211, allocations: 55.41 kB / 0.5015 GB, free: 11.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.1213, allocations: 229 kB / 0.5018 GB, free: 11.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.1214, allocations: 29.7 kB / 0.5018 GB, free: 11.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1215, allocations: 160.3 kB / 0.5019 GB, free: 10.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.1215, allocations: 47.62 kB / 0.502 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.1216, allocations: 49.66 kB / 0.502 GB, free: 10.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1217, allocations: 334.8 kB / 0.5024 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.1221, allocations: 125.6 kB / 0.5025 GB, free: 10.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.1224, allocations: 159.3 kB / 0.5026 GB, free: 10.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005814/0.123, allocations: 233 kB / 0.5028 GB, free: 9.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.123, allocations: 0 / 0.5028 GB, free: 9.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007432/0.1237, allocations: 338.4 kB / 0.5032 GB, free: 9.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.1238, allocations: 33.7 kB / 0.5032 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1238, allocations: 0 / 0.5032 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1238, allocations: 8.094 kB / 0.5032 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.1252, allocations: 127.8 kB / 0.5033 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.1276, allocations: 2.679 MB / 0.5059 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.1279, allocations: 35.86 kB / 0.506 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.1279, allocations: 7.984 kB / 0.506 GB, free: 6.512 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.0001782/0.1281, allocations: 137.7 kB / 0.5061 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.1281, allocations: 19.86 kB / 0.5061 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007257/0.1288, allocations: 283.6 kB / 0.5064 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1289, allocations: 4 kB / 0.5064 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.1289, allocations: 0 / 0.5064 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1289, allocations: 0 / 0.5064 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.13, allocations: 0.5924 MB / 0.507 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.13, allocations: 0 / 0.507 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.1313, allocations: 111.9 kB / 0.5071 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.1313, allocations: 7.922 kB / 0.5071 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1313, allocations: 0 / 0.5071 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.1313, allocations: 3.938 kB / 0.5071 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1313, allocations: 4 kB / 0.5071 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1323, allocations: 457.2 kB / 0.5076 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.1323, allocations: 31.83 kB / 0.5076 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.1324, allocations: 7.938 kB / 0.5076 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.1326, allocations: 23.97 kB / 0.5076 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.1327, allocations: 23.95 kB / 0.5076 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1327, allocations: 8 kB / 0.5076 GB, free: 4.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1329, allocations: 160.5 kB / 0.5078 GB, free: 4.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1329, allocations: 4 kB / 0.5078 GB, free: 4.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.1332, allocations: 47.95 kB / 0.5078 GB, free: 4.527 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.001349/0.1345, allocations: 0.9952 MB / 0.5088 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000979/0.1355, allocations: 321.8 kB / 0.5091 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1355, allocations: 0 / 0.5091 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.1358, allocations: 104.1 kB / 0.5092 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.000319/0.1361, allocations: 30.92 kB / 0.5093 GB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.1402, allocations: 2.682 MB / 0.5119 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.1403, allocations: 146 kB / 0.512 GB, free: 76 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1405, allocations: 34.11 kB / 0.512 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1962/0.3367, allocations: 71.98 kB / 0.5121 GB, free: 23.04 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3367, allocations: 0.6562 kB / 0.5121 GB, free: 23.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04631/0.383, allocations: 5.79 MB / 0.5178 GB, free: 22.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.72, allocations: 11.03 kB / 0.5178 GB, free: 22.08 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.393989458214492] Failed to read output from testmodel.py, exit status != 0: 12.831661024596542 12.846152798 12.728565333 Calling exit ...