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.001749/0.001749, 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.002611/0.002611, allocations: 216.7 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.789 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.06309/0.06309, allocations: 11.33 MB / 323.8 MB, free: 8.023 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.00206/0.00206, allocations: 75.88 kB / 451 MB, free: 10.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1155, allocations: 56.07 MB / 0.4952 GB, free: 2.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.00326/0.1187, allocations: 1.827 MB / 0.4969 GB, free: 312 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.12, allocations: 0.6902 MB / 0.4976 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1202, allocations: 15.88 kB / 0.4976 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.1203, allocations: 23.67 kB / 0.4977 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.1204, allocations: 51.52 kB / 0.4977 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.1208, allocations: 131.8 kB / 0.4978 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.1211, allocations: 291.2 kB / 0.4981 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1213, allocations: 49.34 kB / 0.4982 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1214, allocations: 131.5 kB / 0.4983 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.1216, allocations: 107.4 kB / 0.4984 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.1217, allocations: 20 kB / 0.4984 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.187e-05/0.1217, allocations: 20 kB / 0.4984 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.1218, allocations: 55.83 kB / 0.4985 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1219, allocations: 87.5 kB / 0.4986 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.1222, allocations: 234.8 kB / 0.4988 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.1222, allocations: 4 kB / 0.4988 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1222, allocations: 0 / 0.4988 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1222, allocations: 4 kB / 0.4988 GB, free: 14.4 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.001183/0.1234, allocations: 0.5379 MB / 0.4993 GB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1234, allocations: 12.03 kB / 0.4993 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.613e-05/0.1235, allocations: 50.73 kB / 0.4994 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.1236, allocations: 32.75 kB / 0.4994 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.124, allocations: 256.7 kB / 0.4996 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.1241, allocations: 97.39 kB / 0.4997 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.1242, allocations: 16 kB / 0.4998 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.1247, allocations: 204.6 kB / 0.5 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1247, allocations: 0 / 0.5 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.1247, allocations: 4 kB / 0.5 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1248, allocations: 4 kB / 0.5 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.1253, allocations: 176.6 kB / 0.5001 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1267, allocations: 0.6478 MB / 0.5008 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.1273, allocations: 166.5 kB / 0.5009 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.1276, allocations: 92.78 kB / 0.501 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.1276, allocations: 0 / 0.501 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/0.128, allocations: 167.2 kB / 0.5012 GB, free: 11.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.128, allocations: 0 / 0.5012 GB, free: 11.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001008/0.129, allocations: 329.3 kB / 0.5015 GB, free: 11.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.1291, allocations: 63.41 kB / 0.5015 GB, free: 11.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.1294, allocations: 229 kB / 0.5018 GB, free: 11.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1294, allocations: 25.7 kB / 0.5018 GB, free: 11.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1295, allocations: 160.3 kB / 0.5019 GB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.326e-05/0.1296, allocations: 51.62 kB / 0.502 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.1297, allocations: 45.66 kB / 0.502 GB, free: 10.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1298, allocations: 334.8 kB / 0.5023 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.1301, allocations: 121.6 kB / 0.5025 GB, free: 10.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.1305, allocations: 166.5 kB / 0.5026 GB, free: 10.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.1311, allocations: 227.2 kB / 0.5028 GB, free: 9.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1311, allocations: 11.94 kB / 0.5029 GB, free: 9.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007652/0.1319, allocations: 334.8 kB / 0.5032 GB, free: 9.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.1319, allocations: 33.7 kB / 0.5032 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1319, allocations: 0 / 0.5032 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1319, allocations: 4 kB / 0.5032 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.1334, allocations: 131.9 kB / 0.5033 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.1359, allocations: 2.675 MB / 0.5059 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.1362, allocations: 35.86 kB / 0.506 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.1362, allocations: 15.97 kB / 0.506 GB, free: 6.508 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.0001601/0.1364, allocations: 136.7 kB / 0.5061 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1364, allocations: 23.86 kB / 0.5061 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007393/0.1371, allocations: 279.6 kB / 0.5064 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1371, allocations: 0 / 0.5064 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.1371, allocations: 0 / 0.5064 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1371, allocations: 3.984 kB / 0.5064 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1383, allocations: 0.5926 MB / 0.507 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1383, allocations: 0 / 0.507 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.1395, allocations: 111.9 kB / 0.5071 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1395, allocations: 3.938 kB / 0.5071 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.1395, allocations: 0 / 0.5071 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1395, allocations: 7.938 kB / 0.5071 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1395, allocations: 0 / 0.5071 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1406, allocations: 465 kB / 0.5076 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.1406, allocations: 23.8 kB / 0.5076 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.1406, allocations: 7.938 kB / 0.5076 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.1409, allocations: 23.97 kB / 0.5076 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.1409, allocations: 23.95 kB / 0.5076 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.141, allocations: 8 kB / 0.5076 GB, free: 4.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001726/0.1411, allocations: 160.5 kB / 0.5078 GB, free: 4.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1411, allocations: 0 / 0.5078 GB, free: 4.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.1415, allocations: 51.95 kB / 0.5078 GB, free: 4.531 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.001398/0.1429, allocations: 0.9956 MB / 0.5088 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.1439, allocations: 322 kB / 0.5091 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1439, allocations: 0 / 0.5091 GB, free: 3.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.1442, allocations: 116 kB / 0.5092 GB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.1445, allocations: 30.66 kB / 0.5093 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.1488, allocations: 2.679 MB / 0.5119 GB, free: 236 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.1489, allocations: 142 kB / 0.512 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.149, allocations: 34.05 kB / 0.512 GB, free: 40 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1938/0.3428, allocations: 79.27 kB / 0.5121 GB, free: 23.08 MB / 382.1 MB Notification: Performance of SimCode: time 2.174e-06/0.3428, allocations: 0 / 0.5121 GB, free: 23.08 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.3767, allocations: 5.788 MB / 0.5178 GB, free: 22.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.54, allocations: 4 kB / 0.5178 GB, free: 22.12 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.090135488659143] Failed to read output from testmodel.py, exit status != 0: 12.658572498708963 12.679754312 12.553500575 Calling exit ...