Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.001216/0.001216, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001291/0.001291, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.41/1.41, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.06079/0.06079, allocations: 11.34 MB / 320.9 MB, free: 14.12 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.TestTrackingI,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI",fmuType="cs",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.00184/0.00184, allocations: 65.56 kB / 446.5 MB, free: 38.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09538, allocations: 56 MB / 0.4908 GB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002184/0.09757, allocations: 1.792 MB / 0.4925 GB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007711/0.09834, allocations: 0.6275 MB / 0.4931 GB, free: 0.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.992e-05/0.09843, allocations: 7.938 kB / 0.4931 GB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.09853, allocations: 19.73 kB / 0.4931 GB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.0986, allocations: 39.66 kB / 0.4932 GB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.09882, allocations: 87.81 kB / 0.4933 GB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.099, allocations: 203.4 kB / 0.4935 GB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.09911, allocations: 25.61 kB / 0.4935 GB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.427e-05/0.09919, allocations: 83.69 kB / 0.4936 GB, free: 468 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.512e-05/0.09929, allocations: 95.53 kB / 0.4937 GB, free: 372 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.09931, allocations: 12 kB / 0.4937 GB, free: 360 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.166e-05/0.09933, allocations: 20 kB / 0.4937 GB, free: 340 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.09937, allocations: 43.83 kB / 0.4937 GB, free: 296 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.09942, allocations: 79.52 kB / 0.4938 GB, free: 216 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.09958, allocations: 167.3 kB / 0.494 GB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09958, allocations: 0 / 0.494 GB, free: 48 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09959, allocations: 7.938 kB / 0.494 GB, free: 40 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.09959, allocations: 0 / 0.494 GB, free: 40 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001122/0.1007, allocations: 0.5799 MB / 0.4945 GB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1007, allocations: 8.031 kB / 0.4945 GB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.536e-05/0.1008, allocations: 4.188 kB / 0.4946 GB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.56e-05/0.1008, allocations: 46.73 kB / 0.4946 GB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.1009, allocations: 24.8 kB / 0.4946 GB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.1012, allocations: 267.9 kB / 0.4949 GB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.1013, allocations: 59.97 kB / 0.4949 GB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.1013, allocations: 20.12 kB / 0.495 GB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.1019, allocations: 201.7 kB / 0.4951 GB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1019, allocations: 4 kB / 0.4951 GB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.1019, allocations: 4 kB / 0.4952 GB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1019, allocations: 4 kB / 0.4952 GB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006308/0.1025, allocations: 143.8 kB / 0.4953 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009946/0.1035, allocations: 0.6488 MB / 0.4959 GB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.1041, allocations: 150.4 kB / 0.4961 GB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.1045, allocations: 84.72 kB / 0.4962 GB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1045, allocations: 7.938 kB / 0.4962 GB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004604/0.1049, allocations: 157.8 kB / 0.4963 GB, free: 13.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.1049, allocations: 3.938 kB / 0.4963 GB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001102/0.106, allocations: 297.3 kB / 0.4966 GB, free: 13.13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.1061, allocations: 55.41 kB / 0.4966 GB, free: 13.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1063, allocations: 200.8 kB / 0.4968 GB, free: 12.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1063, allocations: 25.7 kB / 0.4969 GB, free: 12.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1064, allocations: 144.2 kB / 0.497 GB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.1065, allocations: 35.73 kB / 0.497 GB, free: 12.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/0.1066, allocations: 49.69 kB / 0.4971 GB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1067, allocations: 326.8 kB / 0.4974 GB, free: 12.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.1071, allocations: 91.91 kB / 0.4975 GB, free: 12.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/0.1074, allocations: 153.7 kB / 0.4976 GB, free: 12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.1081, allocations: 266.7 kB / 0.4979 GB, free: 11.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1081, allocations: 4 kB / 0.4979 GB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008502/0.109, allocations: 343 kB / 0.4982 GB, free: 11.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.109, allocations: 63.59 kB / 0.4983 GB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1091, allocations: 7.938 kB / 0.4983 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1091, allocations: 4 kB / 0.4983 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.1095, allocations: 51.95 kB / 0.4983 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1095, allocations: 7.984 kB / 0.4983 GB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.1098, allocations: 43.84 kB / 0.4984 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.1098, allocations: 16 kB / 0.4984 GB, free: 11.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.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): 21 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.1099, allocations: 133.8 kB / 0.4985 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.1099, allocations: 19.84 kB / 0.4985 GB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.11, allocations: 25.52 kB / 0.4986 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.11, allocations: 0 / 0.4986 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.11, allocations: 4 kB / 0.4986 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.11, allocations: 0 / 0.4986 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.1102, allocations: 249.4 kB / 0.4988 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1102, allocations: 0 / 0.4988 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.1107, allocations: 55.89 kB / 0.4989 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1107, allocations: 0 / 0.4989 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1107, allocations: 0 / 0.4989 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1107, allocations: 0 / 0.4989 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1107, allocations: 0 / 0.4989 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.1118, allocations: 351.6 kB / 0.4992 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.1118, allocations: 96.98 kB / 0.4993 GB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1119, allocations: 0 / 0.4993 GB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.1121, allocations: 44 kB / 0.4993 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/0.1122, allocations: 27.89 kB / 0.4994 GB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1122, allocations: 8 kB / 0.4994 GB, free: 10.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1123, allocations: 148.4 kB / 0.4995 GB, free: 9.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1123, allocations: 0 / 0.4995 GB, free: 9.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.1126, allocations: 35.95 kB / 0.4995 GB, free: 9.875 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00137/0.1139, allocations: 0.8831 MB / 0.5004 GB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008151/0.1147, allocations: 314.9 kB / 0.5007 GB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1148, allocations: 4.062 kB / 0.5007 GB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.1151, allocations: 91.86 kB / 0.5008 GB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.1154, allocations: 31.91 kB / 0.5008 GB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.1192, allocations: 2.322 MB / 0.5031 GB, free: 6.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1195, allocations: 0.7279 MB / 0.5038 GB, free: 5.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.109e-05/0.1196, allocations: 17.55 kB / 0.5038 GB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.1197, allocations: 55.42 kB / 0.5039 GB, free: 5.234 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1197, allocations: 0 / 0.5039 GB, free: 5.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.1407, allocations: 4.44 MB / 0.5082 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.009, allocations: 7.375 kB / 0.5082 GB, free: 0.9688 MB / 366.1 MB " [Timeout remaining time 652] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingI.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.617094777000602] Failed to read output from testmodel.py, exit status != 0: 8.130015124974307 8.14372073 8.041519308 Calling exit ...