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.001348/0.001348, allocations: 110.4 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.001593/0.001593, allocations: 216.3 kB / 22.25 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.973 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.06685/0.06685, allocations: 11.33 MB / 323.8 MB, free: 8.227 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.002117/0.002117, allocations: 75.89 kB / 451 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1153, allocations: 56.06 MB / 0.4952 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.00334/0.1186, allocations: 1.917 MB / 0.4971 GB, free: 416 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1199, allocations: 0.7368 MB / 0.4978 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1201, allocations: 15.81 kB / 0.4978 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.1202, allocations: 27.67 kB / 0.4979 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.1203, allocations: 47.59 kB / 0.4979 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.1207, allocations: 131.8 kB / 0.498 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.1211, allocations: 287.2 kB / 0.4983 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.1212, allocations: 49.41 kB / 0.4983 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.1214, allocations: 127.5 kB / 0.4985 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.1216, allocations: 123.4 kB / 0.4986 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.1217, allocations: 24 kB / 0.4986 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.202e-05/0.1217, allocations: 20 kB / 0.4986 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.1218, allocations: 59.75 kB / 0.4987 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1219, allocations: 103.4 kB / 0.4988 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1222, allocations: 234.8 kB / 0.499 GB, free: 14.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1222, allocations: 0 / 0.499 GB, free: 14.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1222, allocations: 4 kB / 0.499 GB, free: 14.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1222, allocations: 0 / 0.499 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.001194/0.1234, allocations: 0.5379 MB / 0.4995 GB, free: 13.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1235, allocations: 8.031 kB / 0.4995 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.247e-05/0.1235, allocations: 50.73 kB / 0.4996 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.1236, allocations: 36.75 kB / 0.4996 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.1241, allocations: 256.7 kB / 0.4999 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.1242, allocations: 101.4 kB / 0.5 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.1242, allocations: 16 kB / 0.5 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.1247, allocations: 204.6 kB / 0.5002 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1247, allocations: 0 / 0.5002 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.1248, allocations: 11.98 kB / 0.5002 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.1248, allocations: 4 kB / 0.5002 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000548/0.1253, allocations: 168.6 kB / 0.5004 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.1268, allocations: 0.6908 MB / 0.501 GB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.1273, allocations: 166.4 kB / 0.5012 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.1276, allocations: 96.73 kB / 0.5013 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.1276, allocations: 0 / 0.5013 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/0.1281, allocations: 171.2 kB / 0.5014 GB, free: 11.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1281, allocations: 0 / 0.5014 GB, free: 11.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001037/0.1291, allocations: 329.3 kB / 0.5018 GB, free: 11.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.1292, allocations: 59.39 kB / 0.5018 GB, free: 11.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.1294, allocations: 225 kB / 0.502 GB, free: 11.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.1294, allocations: 33.7 kB / 0.5021 GB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1295, allocations: 156.4 kB / 0.5022 GB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.1296, allocations: 51.58 kB / 0.5023 GB, free: 10.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/0.1297, allocations: 53.62 kB / 0.5023 GB, free: 10.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1299, allocations: 334.8 kB / 0.5026 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.1302, allocations: 83.94 kB / 0.5027 GB, free: 10.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.1306, allocations: 133.6 kB / 0.5028 GB, free: 10.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.1312, allocations: 239.3 kB / 0.5031 GB, free: 10.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1312, allocations: 0 / 0.5031 GB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007605/0.1319, allocations: 311 kB / 0.5034 GB, free: 9.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.132, allocations: 32.05 kB / 0.5034 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.132, allocations: 12.08 kB / 0.5034 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.132, allocations: 0 / 0.5034 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.1334, allocations: 119.8 kB / 0.5035 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.136, allocations: 2.683 MB / 0.5061 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.1362, allocations: 35.86 kB / 0.5062 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.1362, allocations: 4.125 kB / 0.5062 GB, free: 6.598 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.0001553/0.1364, allocations: 148.5 kB / 0.5063 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.1364, allocations: 27.84 kB / 0.5063 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007558/0.1372, allocations: 275.5 kB / 0.5066 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1372, allocations: 4 kB / 0.5066 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.1372, allocations: 0 / 0.5066 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1372, allocations: 0 / 0.5066 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.1384, allocations: 0.6182 MB / 0.5072 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1384, allocations: 4 kB / 0.5072 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.1396, allocations: 103.9 kB / 0.5073 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1396, allocations: 4 kB / 0.5073 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.1397, allocations: 7.984 kB / 0.5073 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1397, allocations: 7.938 kB / 0.5073 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1397, allocations: 0 / 0.5073 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.1407, allocations: 461.4 kB / 0.5078 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.1408, allocations: 23.8 kB / 0.5078 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.1408, allocations: 11.97 kB / 0.5078 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.141, allocations: 19.97 kB / 0.5078 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/0.1411, allocations: 27.95 kB / 0.5079 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1411, allocations: 8 kB / 0.5079 GB, free: 4.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1413, allocations: 156.5 kB / 0.508 GB, free: 4.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1413, allocations: 4 kB / 0.508 GB, free: 4.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1416, allocations: 47.94 kB / 0.5081 GB, free: 4.582 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.001374/0.143, allocations: 0.9971 MB / 0.509 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.144, allocations: 302.1 kB / 0.5093 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.144, allocations: 0 / 0.5093 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.1444, allocations: 103.9 kB / 0.5094 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1447, allocations: 36.3 kB / 0.5095 GB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.1489, allocations: 2.565 MB / 0.512 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1916/0.3406, allocations: 0.7464 MB / 0.5127 GB, free: 22.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.3407, allocations: 28.95 kB / 0.5127 GB, free: 22.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3409, allocations: 78.39 kB / 0.5128 GB, free: 22.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.193e-06/0.3409, allocations: 2.734 kB / 0.5128 GB, free: 22.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.3768, allocations: 5.297 MB / 0.518 GB, free: 22.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.03, allocations: 5.031 kB / 0.518 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 & /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.604749185964465] Failed to read output from testmodel.py, exit status != 0: 13.142274137120694 13.15648088 13.031241636 Calling exit ...