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.001679/0.001679, allocations: 107.8 kB / 16.46 MB, free: 6.512 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.002009/0.002009, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.664/1.664, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.06544/0.06544, allocations: 11.31 MB / 320.2 MB, free: 9.418 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.002043/0.002043, allocations: 67.91 kB / 445.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1268, allocations: 56 MB / 0.4901 GB, free: 5.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003206/0.13, allocations: 1.906 MB / 0.4919 GB, free: 3.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1313, allocations: 0.7252 MB / 0.4926 GB, free: 2.973 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1315, allocations: 15.81 kB / 0.4926 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.1316, allocations: 23.67 kB / 0.4927 GB, free: 2.934 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.1317, allocations: 47.59 kB / 0.4927 GB, free: 2.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.1321, allocations: 138.3 kB / 0.4928 GB, free: 2.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.1325, allocations: 291.3 kB / 0.4931 GB, free: 2.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1327, allocations: 45.22 kB / 0.4932 GB, free: 2.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.1328, allocations: 127.5 kB / 0.4933 GB, free: 2.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.133, allocations: 119.4 kB / 0.4934 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.133, allocations: 27.94 kB / 0.4934 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.553e-05/0.1331, allocations: 20 kB / 0.4934 GB, free: 2.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.398e-05/0.1331, allocations: 51.77 kB / 0.4935 GB, free: 2.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1332, allocations: 107.4 kB / 0.4936 GB, free: 1.969 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.1335, allocations: 238.8 kB / 0.4938 GB, free: 1.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1335, allocations: 0 / 0.4938 GB, free: 1.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1335, allocations: 0 / 0.4938 GB, free: 1.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1335, allocations: 0 / 0.4938 GB, free: 1.734 MB / 366.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.001233/0.1348, allocations: 0.6132 MB / 0.4944 GB, free: 1.066 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1348, allocations: 12.03 kB / 0.4944 GB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.1349, allocations: 50.73 kB / 0.4945 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.1349, allocations: 36.69 kB / 0.4945 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.1354, allocations: 322.6 kB / 0.4948 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/0.1355, allocations: 93.39 kB / 0.4949 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.1356, allocations: 19.94 kB / 0.4949 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.1361, allocations: 207.8 kB / 0.4951 GB, free: 276 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1361, allocations: 0 / 0.4951 GB, free: 276 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.1362, allocations: 4 kB / 0.4951 GB, free: 272 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1362, allocations: 4 kB / 0.4951 GB, free: 268 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005971/0.1368, allocations: 165.5 kB / 0.4953 GB, free: 104 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.1382, allocations: 0.719 MB / 0.496 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.1388, allocations: 166.5 kB / 0.4962 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.1391, allocations: 92.78 kB / 0.4963 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.1392, allocations: 7.938 kB / 0.4963 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.1396, allocations: 171.2 kB / 0.4964 GB, free: 14.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.1396, allocations: 0 / 0.4964 GB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.00113/0.1408, allocations: 335.5 kB / 0.4967 GB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.1408, allocations: 51.41 kB / 0.4968 GB, free: 14.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.141, allocations: 232.9 kB / 0.497 GB, free: 14.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.1411, allocations: 33.69 kB / 0.497 GB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.1412, allocations: 156.5 kB / 0.4972 GB, free: 14.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.1413, allocations: 47.59 kB / 0.4972 GB, free: 14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1414, allocations: 49.7 kB / 0.4973 GB, free: 13.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1415, allocations: 334.8 kB / 0.4976 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.1418, allocations: 91.92 kB / 0.4977 GB, free: 13.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.1422, allocations: 129 kB / 0.4978 GB, free: 13.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.1428, allocations: 235.2 kB / 0.498 GB, free: 13.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1428, allocations: 4 kB / 0.498 GB, free: 13.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000795/0.1436, allocations: 313.9 kB / 0.4983 GB, free: 12.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.1437, allocations: 29.7 kB / 0.4984 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1437, allocations: 4 kB / 0.4984 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1437, allocations: 0 / 0.4984 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.1452, allocations: 128 kB / 0.4985 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.1479, allocations: 2.89 MB / 0.5013 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.1482, allocations: 35.89 kB / 0.5014 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.1482, allocations: 11.94 kB / 0.5014 GB, free: 9.43 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.0001645/0.1483, allocations: 141.8 kB / 0.5015 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.1484, allocations: 19.86 kB / 0.5015 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007793/0.1492, allocations: 281.7 kB / 0.5018 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1492, allocations: 4 kB / 0.5018 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1492, allocations: 4 kB / 0.5018 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1492, allocations: 0 / 0.5018 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.1504, allocations: 0.6464 MB / 0.5024 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1504, allocations: 0 / 0.5024 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.1517, allocations: 103.9 kB / 0.5025 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1517, allocations: 0 / 0.5025 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.1518, allocations: 11.98 kB / 0.5025 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1518, allocations: 3.938 kB / 0.5025 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1518, allocations: 0 / 0.5025 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1528, allocations: 461 kB / 0.503 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.1529, allocations: 97.06 kB / 0.5031 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.153, allocations: 15.97 kB / 0.5031 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.1532, allocations: 31.95 kB / 0.5031 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.1533, allocations: 23.97 kB / 0.5031 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1533, allocations: 4 kB / 0.5031 GB, free: 7.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.1535, allocations: 160.5 kB / 0.5033 GB, free: 7.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1535, allocations: 0 / 0.5033 GB, free: 7.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.1538, allocations: 51.89 kB / 0.5033 GB, free: 7.293 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.001516/0.1553, allocations: 0.9971 MB / 0.5043 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1564, allocations: 294.1 kB / 0.5046 GB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1564, allocations: 192 / 0.5046 GB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.1567, allocations: 107.9 kB / 0.5047 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1571, allocations: 24.42 kB / 0.5047 GB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.1618, allocations: 2.581 MB / 0.5073 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.1622, allocations: 0.7478 MB / 0.508 GB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.1623, allocations: 25.95 kB / 0.508 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1625, allocations: 71.41 kB / 0.5081 GB, free: 2.293 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1625, allocations: 0 / 0.5081 GB, free: 2.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2667/0.4292, allocations: 5.184 MB / 0.5131 GB, free: 24.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.4, allocations: 7.453 kB / 0.5131 GB, free: 24.32 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.470431045992882] Failed to read output from testmodel.py, exit status != 0: 12.505982153990772 12.527143029 12.389359901 Calling exit ...