Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.00206/0.00206, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001858/0.001858, allocations: 211.1 kB / 23.04 MB, free: 5.078 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.0622/0.0622, allocations: 11.34 MB / 324.6 MB, free: 8.34 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.TestTrackingFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO",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.001905/0.001905, allocations: 63.89 kB / 451.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1043, allocations: 56.06 MB / 0.496 GB, free: 2.438 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002985/0.1073, allocations: 1.855 MB / 0.4978 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1084, allocations: 0.6584 MB / 0.4984 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1085, allocations: 11.88 kB / 0.4985 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.1086, allocations: 23.67 kB / 0.4985 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.1087, allocations: 31.67 kB / 0.4985 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.109, allocations: 111.7 kB / 0.4986 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.1093, allocations: 227.3 kB / 0.4988 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.1094, allocations: 53.05 kB / 0.4989 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1095, allocations: 99.58 kB / 0.499 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1097, allocations: 91.53 kB / 0.4991 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.1097, allocations: 16 kB / 0.4991 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.947e-05/0.1097, allocations: 20 kB / 0.4991 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.1098, allocations: 43.83 kB / 0.4991 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.88e-05/0.1099, allocations: 95.45 kB / 0.4992 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.1101, allocations: 203 kB / 0.4994 GB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1101, allocations: 0 / 0.4994 GB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1101, allocations: 0 / 0.4994 GB, free: 14.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1102, allocations: 0 / 0.4994 GB, free: 14.89 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001034/0.1112, allocations: 0.5029 MB / 0.4999 GB, free: 14.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1112, allocations: 8.031 kB / 0.4999 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.634e-05/0.1112, allocations: 4.422 kB / 0.4999 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.1113, allocations: 46.73 kB / 0.5 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.1114, allocations: 32.8 kB / 0.5 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.1118, allocations: 229.8 kB / 0.5002 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.625e-05/0.1119, allocations: 97.67 kB / 0.5003 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.1119, allocations: 24.08 kB / 0.5003 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.1124, allocations: 174.1 kB / 0.5005 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1124, allocations: 0 / 0.5005 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.1124, allocations: 4 kB / 0.5005 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1124, allocations: 4 kB / 0.5005 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.1129, allocations: 155.8 kB / 0.5007 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1141, allocations: 0.5381 MB / 0.5012 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.1145, allocations: 134.5 kB / 0.5013 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.1148, allocations: 72.8 kB / 0.5014 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1148, allocations: 8.188 kB / 0.5014 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/0.1152, allocations: 147.2 kB / 0.5015 GB, free: 12.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.1152, allocations: 0 / 0.5015 GB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009119/0.1161, allocations: 285.2 kB / 0.5018 GB, free: 12.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1162, allocations: 55.41 kB / 0.5019 GB, free: 12.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.1164, allocations: 207.1 kB / 0.5021 GB, free: 12.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.1165, allocations: 29.64 kB / 0.5021 GB, free: 11.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1166, allocations: 144.3 kB / 0.5022 GB, free: 11.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.1167, allocations: 39.69 kB / 0.5023 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.1168, allocations: 53.59 kB / 0.5023 GB, free: 11.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1169, allocations: 334.8 kB / 0.5026 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.1172, allocations: 79.94 kB / 0.5027 GB, free: 11.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.1175, allocations: 107.4 kB / 0.5028 GB, free: 11.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/0.118, allocations: 203.5 kB / 0.503 GB, free: 10.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.118, allocations: 0 / 0.503 GB, free: 10.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000666/0.1187, allocations: 267 kB / 0.5033 GB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.1187, allocations: 32.2 kB / 0.5033 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1187, allocations: 4 kB / 0.5033 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1187, allocations: 8.078 kB / 0.5033 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.1195, allocations: 71.89 kB / 0.5034 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1195, allocations: 4 kB / 0.5034 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.1197, allocations: 31.91 kB / 0.5034 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1197, allocations: 12 kB / 0.5034 GB, free: 10.55 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 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.0001348/0.1199, allocations: 137.7 kB / 0.5035 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.1199, allocations: 23.8 kB / 0.5036 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.1199, allocations: 25.39 kB / 0.5036 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1199, allocations: 0 / 0.5036 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1199, allocations: 0 / 0.5036 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.12, allocations: 0 / 0.5036 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.1202, allocations: 248.4 kB / 0.5038 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1202, allocations: 0 / 0.5038 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008906/0.1211, allocations: 75.94 kB / 0.5039 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1211, allocations: 0 / 0.5039 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1211, allocations: 3.984 kB / 0.5039 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.1212, allocations: 4 kB / 0.5039 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1212, allocations: 0 / 0.5039 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/0.1221, allocations: 321.5 kB / 0.5042 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.1221, allocations: 11.91 kB / 0.5042 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.1221, allocations: 8.031 kB / 0.5042 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.1223, allocations: 27.97 kB / 0.5043 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.1224, allocations: 15.97 kB / 0.5043 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.1224, allocations: 8 kB / 0.5043 GB, free: 9.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.1225, allocations: 148.6 kB / 0.5044 GB, free: 9.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1225, allocations: 0 / 0.5044 GB, free: 9.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1228, allocations: 39.89 kB / 0.5045 GB, free: 9.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12): * Single equations (assignments): 9 * 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.001177/0.124, allocations: 0.8586 MB / 0.5053 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.1246, allocations: 234 kB / 0.5055 GB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1246, allocations: 0 / 0.5055 GB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.1249, allocations: 79.94 kB / 0.5056 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.1251, allocations: 32.78 kB / 0.5056 GB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.1285, allocations: 2.237 MB / 0.5078 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.1289, allocations: 0.732 MB / 0.5085 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.787e-05/0.129, allocations: 21.66 kB / 0.5086 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.1291, allocations: 71.41 kB / 0.5086 GB, free: 4.973 MB / 382.1 MB Notification: Performance of SimCode: time 1.532e-06/0.1291, allocations: 0 / 0.5086 GB, free: 4.973 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.1554, allocations: 4.339 MB / 0.5129 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.79, allocations: 18.06 kB / 0.5129 GB, free: 0.7773 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestTrackingFO.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.528426281991415] Failed to read output from testmodel.py, exit status != 0: 11.133737233001739 11.145797716 11.033126663000001 Calling exit ...