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.0013/0.0013, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001304/0.001304, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.414/1.414, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.06027/0.06027, allocations: 11.33 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.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.001819/0.001819, allocations: 65.27 kB / 446.5 MB, free: 39.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09182, allocations: 56.01 MB / 0.4908 GB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.00223/0.09405, allocations: 1.832 MB / 0.4926 GB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008053/0.09486, allocations: 0.6545 MB / 0.4932 GB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.09496, allocations: 11.88 kB / 0.4932 GB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.09507, allocations: 23.73 kB / 0.4932 GB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.248e-05/0.09514, allocations: 39.5 kB / 0.4933 GB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.09538, allocations: 115.8 kB / 0.4934 GB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.09558, allocations: 223.4 kB / 0.4936 GB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.09571, allocations: 36.89 kB / 0.4936 GB, free: 0.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.265e-05/0.0958, allocations: 99.61 kB / 0.4937 GB, free: 412 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.309e-05/0.0959, allocations: 95.53 kB / 0.4938 GB, free: 316 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.09593, allocations: 16 kB / 0.4938 GB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.342e-05/0.09595, allocations: 20 kB / 0.4938 GB, free: 280 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.09599, allocations: 47.77 kB / 0.4939 GB, free: 232 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.09604, allocations: 95.45 kB / 0.494 GB, free: 136 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.09626, allocations: 191.1 kB / 0.4942 GB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.09627, allocations: 4 kB / 0.4942 GB, free: 15.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.09627, allocations: 0 / 0.4942 GB, free: 15.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.09628, allocations: 0 / 0.4942 GB, free: 15.94 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001111/0.09739, allocations: 0.5782 MB / 0.4947 GB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.09742, allocations: 8.031 kB / 0.4947 GB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.052e-05/0.09744, allocations: 4.422 kB / 0.4947 GB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.0975, allocations: 46.73 kB / 0.4948 GB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.09756, allocations: 24.8 kB / 0.4948 GB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.09796, allocations: 303.6 kB / 0.4951 GB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-05/0.09806, allocations: 97.66 kB / 0.4952 GB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.09811, allocations: 24.08 kB / 0.4952 GB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.09857, allocations: 185.5 kB / 0.4954 GB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.09858, allocations: 3.984 kB / 0.4954 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.0986, allocations: 4 kB / 0.4954 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.09861, allocations: 4 kB / 0.4954 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.09912, allocations: 147.9 kB / 0.4955 GB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1002, allocations: 0.5703 MB / 0.4961 GB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.1007, allocations: 138.5 kB / 0.4962 GB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.1009, allocations: 72.8 kB / 0.4963 GB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1009, allocations: 4 kB / 0.4963 GB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/0.1013, allocations: 143.5 kB / 0.4964 GB, free: 13.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.1013, allocations: 0 / 0.4964 GB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009244/0.1023, allocations: 281.2 kB / 0.4967 GB, free: 13.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1023, allocations: 59.41 kB / 0.4968 GB, free: 13.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1025, allocations: 203.2 kB / 0.497 GB, free: 12.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.1025, allocations: 33.7 kB / 0.497 GB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.1026, allocations: 140.3 kB / 0.4971 GB, free: 12.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.1027, allocations: 43.69 kB / 0.4972 GB, free: 12.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/0.1028, allocations: 45.59 kB / 0.4972 GB, free: 12.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1029, allocations: 334.8 kB / 0.4975 GB, free: 12.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.1032, allocations: 87.92 kB / 0.4976 GB, free: 12.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.1035, allocations: 105.6 kB / 0.4977 GB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.104, allocations: 206.8 kB / 0.4979 GB, free: 11.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.104, allocations: 0 / 0.4979 GB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006912/0.1047, allocations: 267 kB / 0.4982 GB, free: 11.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.1048, allocations: 39.09 kB / 0.4982 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1048, allocations: 0 / 0.4982 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1048, allocations: 0 / 0.4982 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000713/0.1055, allocations: 79.98 kB / 0.4983 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1055, allocations: 0 / 0.4983 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.1057, allocations: 35.84 kB / 0.4983 GB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.1057, allocations: 15.94 kB / 0.4983 GB, free: 11.37 MB / 366.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.0001203/0.1058, allocations: 128 kB / 0.4985 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.1059, allocations: 19.86 kB / 0.4985 GB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.1059, allocations: 29.39 kB / 0.4985 GB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1059, allocations: 0 / 0.4985 GB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1059, allocations: 8 kB / 0.4985 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1059, allocations: 0 / 0.4985 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.1062, allocations: 273.4 kB / 0.4988 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1062, allocations: 0 / 0.4988 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000778/0.107, allocations: 75.88 kB / 0.4988 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.107, allocations: 4 kB / 0.4988 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.855e-05/0.107, allocations: 4 kB / 0.4989 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.107, allocations: 0 / 0.4989 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.107, allocations: 0 / 0.4989 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.1079, allocations: 318.6 kB / 0.4992 GB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.928e-05/0.108, allocations: 93.05 kB / 0.4992 GB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.108, allocations: 4 kB / 0.4992 GB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.1082, allocations: 23.97 kB / 0.4993 GB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.1083, allocations: 19.97 kB / 0.4993 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.1083, allocations: 4 kB / 0.4993 GB, free: 10.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1084, allocations: 144.7 kB / 0.4994 GB, free: 10.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1084, allocations: 0 / 0.4994 GB, free: 10.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1086, allocations: 43.88 kB / 0.4995 GB, free: 10.11 MB / 366.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.001216/0.1098, allocations: 0.8543 MB / 0.5003 GB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006456/0.1105, allocations: 223.4 kB / 0.5005 GB, free: 8.992 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1105, allocations: 4 kB / 0.5005 GB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.1108, allocations: 83.86 kB / 0.5006 GB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.111, allocations: 29.47 kB / 0.5006 GB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.1145, allocations: 2.232 MB / 0.5028 GB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.1148, allocations: 0.7358 MB / 0.5035 GB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.376e-05/0.1149, allocations: 17.55 kB / 0.5035 GB, free: 5.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.1151, allocations: 65.55 kB / 0.5036 GB, free: 5.699 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1151, allocations: 0 / 0.5036 GB, free: 5.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.1375, allocations: 4.2 MB / 0.5077 GB, free: 1.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.762/7.9, allocations: 8.062 kB / 0.5077 GB, free: 1.684 MB / 366.1 MB " [Timeout remaining time 652] (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 os._exit(0), Time elapsed: 10.493796474009287] Failed to read output from testmodel.py, exit status != 0: 8.023868205025792 8.039134757 7.940129929 Calling exit ...